Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command rank [<player>] [<text>]:
- permission: host
- trigger:
- if arg-1 is not set:
- message "&c/rank (player) (rank)"
- if arg-2 is not set:
- if arg-1 is set:
- message "&c%arg-1%&7 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 user %arg-player% group set %arg-2%"
- 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