Advertisement
LukaMC59

Untitled

Nov 5th, 2017
315
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. command rank [<player>] [<text>]:
  2. permission: host
  3. trigger:
  4. if arg-1 is not set:
  5. message "&c/rank (player) (rank)"
  6. if arg-2 is not set:
  7. if arg-1 is set:
  8. message "&c%arg-1%&7 is %arg-player's prefix%"
  9. if arg-1 is set:
  10. if arg-player is not set:
  11. message "&cInvalid Player"
  12. if arg-player is set:
  13. if arg-2 is set:
  14. execute console command "pex user %arg-player% group set %arg-2%"
  15. message "&7Changed &c%arg-player%&7's rank to %arg-1's prefix%"
  16. wait 0.1 second
  17. send "&7You are now %arg-player's prefix%" to arg-player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement