Solved Worldguard Region

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Jeroeno_Boy

Active Member
Jun 2, 2017
61
2
8
24
This is the first time im doeing something with worldguard in a skript. i looked in the forums and on njol but couldnt fine where i was looking for, my issue is that i want to add a player to a worldguard region

code_language.skript:
command /plot [<text>] [<player>]:
    trigger:
        if arg 1 is "add":
            if player is owner of region at player:
                if arg 2 is online:
                    add arg 2 as member to the region at player

here is the error:

The regio at at the player can't even have anything added to it
Line: (in this case) 6
 
Status
Not open for further replies.