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:
- if arg-2 is 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 now 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 arg-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 "vip":
- message "&c%arg-player%&7 is now a &aVery Important Player"
- send "&7You're now a &aVery Important Player" to arg-player
- execute console command "pex user %arg-player% group set vip"
- if arg-player is set:
- if arg-2 is "pro":
- message "&c%arg-player%&7 is now a &bProfessional"
- send "&7You're now a &bProfessional" to arg-player
- execute console command "pex user %arg-player% group set pro"
- 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":
- if arg-2 is not "reset":
- if arg-2 is not "pro":
- if arg-2 is not "vip":
- if arg-2 is not "clear":
- message "&cInvalid Rank"
- message "&7Available ranks are &cAdministrator&7, &eModerator&7, &aVery Important Player&7 and &bProfessional &7(You can also use Reset to set someone's rank to Default)"
- if arg-1 is set:
- if arg-2 is not set:
- message "&c%arg-player%&7 is %arg-1's prefix%"
- if arg-player is set:
- if arg-2 is "reset" or "clear":
- message "&c%arg-player%&7 is now a &8Member"
- send "&7You're now a &8Member" to arg-player
- execute console command "pex user %arg-player% group set default"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement