SHARE
TWEET

Untitled

a guest Aug 22nd, 2019 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. command /ao:
  2.      permission: staff.chat.view
  3.      trigger:
  4.           if {staffchat::%player's uuid%} is true:
  5.                message "&bStaff Chat&7: &fSuccessfully &cDISABLED &fstaff chat for &a%player%&f!"
  6.                delete {staffchat::%player's uuid%}
  7.                stop
  8.           else:
  9.                set {staffchat::%player's uuid%} to true
  10.                message "&bStaff Chat&7: &fSuccessfully &aENABLED &fstaff chat for &a%player%&f!"
  11. on chat:
  12.      if {staffchat::%player's uuid%} is true:
  13.           cancel event
  14.           loop all players:
  15.                if loop-player has permission "staff.chat.view":
  16.                     message "&7[&bStaff Chat&7] &3%player%&7: &f%message%" to loop-player
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top