Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command rank [<player>] [<text>]:
- permission: host
- trigger:
- if arg-player is not set:
- message "/rank (player) (rank)"
- if arg-2 is not set:
- message "&c%arg-1%&7's is %arg-player's prefix%"
- if arg-1 is set:
- if arg-player is not set:
- message "&cInvalid Player"
- if arg-player is set:
- if arg-2 is set:
- execute console command "pex group %arg-2% user add %arg-player%"
- message "&7Changed &c%arg-player%&7's rank to %arg-1's prefix%"
- wait 0.1 second
- send "&7You are now %arg-player's prefix%" to arg-player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement