Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #4y5 was here
- command /setrank [<offlineplayer>] [<text>]:
- permission: "admin"
- trigger:
- if arg-1 is set:
- if arg-2 is "Owner":
- set {rank::%arg-1%} to Owner
- if arg-2 is "Dev":
- set {rank::%arg-1%} to Dev
- if arg-2 is "Admin":
- set {rank::%arg-1%} to Admin
- if arg-2 is "Mod":
- set {rank::%arg-1%} to Mod
- if arg-2 is "Jr Mod":
- set {rank::%arg-1%} to Jr.Mod
- else:
- send "&7You must include a player!"
- on chat:
- cancel event
- if {rank::%player%} is "Owner":
- send "&cOWNER &7%player% &f%message%" to all players
- if {rank::%player%} is "Dev":
- send "&aDEV &7%player% &f%message%" to all players
- if {rank::%player%} is "Admin":
- send "&dADMIN &7%player% &f%message%" to all players
- if {rank::%player%} is "Mod":
- send "&bMOD &7%player% &f%message%" to all players
- if {rank::%player%} is "Jr.Mod":
- send "&dJR MOD &7%player% &f%message%" to all players
- else:
- send "&7%player% &f%message%" to all players
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement