Solved if player have permission , doesn't have permission | not working

  • 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.

LatteKunGz

Member
Aug 15, 2020
14
0
1
28
if arg-1 is "menu":
if player have permission "world.uncreate":
make player execute command "chaiyee"
else:
if player doesn't have permission "world.uncreate":
send "lungxd"

why it not working please help it don't have any error in console | sorry for bad eng :emoji_frowning:
 
This should work without a problem
Code:
        if arg-1 is "menu":
            if player have permission "world.uncreate":
                make player execute command "chaiyee"
            else:
                send "lungxd"
 
This should work without a problem
Code:
        if arg-1 is "menu":
            if player have permission "world.uncreate":
                make player execute command "chaiyee"
            else:
                send "lungxd"
it not working i don't have permission "world.uncreate" but it run command "chaiyee" | sorry for bad eng :emoji_frowning:
 
Code:
command /test <text>:
    permission: world.uncreate
    permission message: lungxd
    trigger:
        if arg-1 is "menu":
            make player execute command "chaiyee"

this should work
 
Status
Not open for further replies.