SkQuery Permissions

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

Mr_pro68YT

New Member
Jul 4, 2020
9
0
1
23
I heard there was a permission manager in skQuery but it isn't working. I get these errors.
Capture.JPG


Code:

Code:
script options:
    $ use permissions
options:
    noperm: &f&l<&c&l!&f&l> &7No Permission! &f&l<&c&l!&f&l>

command perm [<player>] [<text>] [<text>]:
    permission: skript.admin
    permission message: "{@noperm}"
    trigger:
        if arg-1 isn't set:
            if arg-2 is set:
                if arg-2 is "add" or "give":
                    if arg-3 is set:
                        add arg-3 to permissions of player
                else if arg-2 is "take" or "remove":
                    if arg-3 is set:
                        remove arg-3 from permissions of player
        if arg-1 is set:
            if arg-2 is set:
                if arg-2 is "add" or "give":
                    if arg-3 is set:
                        add arg-3 to permission of arg-1
                else if arg-2 is "take" or "remove":
                    if arg-3 is set:
                        remove arg-3 from permission of arg-1
 
Status
Not open for further replies.