Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /rank [<player>] [<text>]:
- permission: ts.rank, ts.*
- trigger:
- if arg-1 is set:
- if arg-player is not set:
- message "&9TheSkripted &8» &7Invalid player! Player must be Online"
- if arg-player is set:
- if arg-2 is not set:
- message "&9TheSkripted &8» &8%arg-1%&7's rank is %arg-1's prefix%"
- if arg-1 is set:
- if arg-2 is set:
- execute console command "pex user %arg-player% group set %arg-2%"
- message "&9TheSkripted &8» &8%arg-1%&7's rank has been changed to %arg-player's prefix%"
- send "&9TheSkripted &8» &7Your rank has been changed to %arg-player's prefix%"
- if arg-1 is not set:
- message "&9TheSkripted &8» &7/rank (player) (rank)"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement