Advertisement
MattyNJ

forante

Feb 23rd, 2020
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. command /sc:
  2. permission: staff.chat
  3. trigger:
  4. if {%player%.staffchaton} is 0:
  5. set {%player%.staffchaton} to 1
  6. message "&3Staff Chat is now &aon&3."
  7. stop
  8. if {%player%.staffchaton} is 1:
  9. set {%player%.staffchaton} to 0
  10. message "&3Staff Chat is now &coff&3."
  11. stop
  12.  
  13. on chat:
  14. if {%player%.staffchaton} is 1:
  15. cancel event
  16. send "&c[&4&lSTAFF&c] %player%: &3%message%" all players where [player input has permission "staff.chat"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement