Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /rank [<player>] [<text>]:
- permission: *
- trigger:
- if arg-1 is set:
- if arg-player is not set:
- message "&cInvalid Player ( Offline / Spelling Error / Non Existing )"
- if arg-player is set:
- if arg-2 is "admin"
- message "&c%arg-player%&7 is now an &cAdministrator"
- send "&7You're not an &cAdminstrator" to arg-player
- execute console command "pex user %arg-player% group set admin"
- if arg-player is set:
- if arg-2 is "administrator"
- message "&c%arg-player%&7 is now an &cAdministrator"
- send "&7You're now an &cAdministrator" to player
- execute console command "pex user %arg-player% group set admin"
- if arg-player is set:
- if arg-2 is "mod"
- message "&c%arg-player%&7 is now a &eModerator"
- send "&7You're now a &eModerator" to arg-player
- execute console command "pex user %arg-player% group set mod"
- if arg-player is set:
- if arg-2 is "moderator"
- message "&c%arg-player%&7 is now a &eModerator"
- send "&7You're now a &eModerator" to arg-player
- execute console command "pex user %arg-player% group set mod"
- if arg-1 is not set:
- message "&c/rank (player) (rank)"
- if arg-2 is not "mod":
- if arg-2 is not "admin":
- if arg-2 is not "moderator":
- message "&cInvalid Rank"
- message "&7Available ranks are &cAdministrator &7and &eModerator"
- if arg-player is set:
- if arg-2 is not set:
- message "&c%arg-player%&7's a/an %arg-player's prefix%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement