Advertisement
LukaMC59

Untitled

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