Execute command

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

sebiii

New Member
Feb 6, 2017
7
0
1
31
Hi

I need help...

Command /buywarp:
trigger:
make console execute "pex user @executer add essentials.setwarp"


I need to give the person who execute /buywarp to get this permissions "essentials.setwarp"'

How do i do that?
 
You would need to do

command /buywarp:
trigger:
execute console command "/pex user %player% add essentials.setwarp"
 
Thank you! - last question how do i charge people when they are using that command? :emoji_slight_smile:
 
Remove an amount from their balance
code_language.skript:
remove 10 from balance of player
You should also check if their balance has that amount first
 
Status
Not open for further replies.