Advertisement
LukaMC59

Untitled

Nov 7th, 2017
325
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. command /rank [<player>] [<text>]:
  2. permission: ts.rank, ts.*
  3. trigger:
  4. if arg-1 is set:
  5. if arg-player is not set:
  6. message "&9TheSkripted &8» &7Invalid player! Player must be Online"
  7. if arg-player is set:
  8. if arg-2 is not set:
  9. message "&9TheSkripted &8» &8%arg-1%&7's rank is %arg-1's prefix%"
  10. if arg-1 is set:
  11. if arg-2 is set:
  12. execute console command "pex group %arg-2% user add %arg-player%"
  13. message "&9TheSkripted &8» &8%arg-1%&7's rank has been changed to %arg-player's prefix%"
  14. send "&9TheSkripted &8» &7Your rank has been changed to %arg-player's prefix%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement