Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /sell [<text>] [<text>]:
- trigger:
- if arg 1 is set:
- if arg 2 is set:
- if arg 1 is "cobblestone":
- execute console command "pex user %player% add essentials.sell.*"
- execute console command "sudo %player% sell %arg-1% %arg-2%"
- execute console command "pex user %player% remove essentials.sell.*"
- else:
- send "&cInvalid item! Please choose one of the following: cobblestone"
- else:
- send "&cPlease select the amount of %arg-1% &cto be sold! "
- else:
- send "&CPlease select an item to be sold!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement