Discord Thread make player execute command with a permission

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

This thread came from the skUnity Discord. You can't reply to it here but if you join the skUnity Discord, you'll be able to post a reply there. The thread link is part of the thread's message.
Status
Not open for further replies.
I think it’s add “" to player's permissions
Got it from here: https://forums.skunity.com/threads/skquery-permissions-manager.2467/
So it should look something like this
code_language.skript:
on command _:
  if arg-? contains 33:
    add "shopkeeper.remote.use" to player's permissions
    make player execute command _
    remove "shopkeeper.remote.use" from player's permissions

Posted by: PotatoGuyy420 from the skUnity Discord.
 
Status
Not open for further replies.