Builders

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

xSadFrostiik

Member
Jul 22, 2019
20
0
1
24
Hi, i need skript something like this:

Permission: nabor_access_add
___________________________
Command for builders: /nabor add <nick>

Executed by console:
/lp user <nick> permission set nabor_access
___________________________
Command for builders: /nabor remove <nick>

Executed by console:
/lp user <nick> permission unset nabor_access
 
code_language.skript:
command /nabor <text> <offline player>:
    permission: nabor_access_add
    permission message: &cYou do not have permission to use this command
    trigger:
        if arg-1 = "add":
            send "Added %arg-2%"
            execute console command "/lp user %arg-2% permission set nabor_access"
        else if arg-1 = "remove":
            send "Removed %arg-2%"
            execute console command "/lp user %arg-2% permission unset nabor_access"
        else:
            send "&cInvalid arguments, use &badd &cor &bremove"
 
Last edited: