Advertisement
Guest User

Untitled

a guest
Aug 19th, 2016
475
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. command /muteall <text>:
  2. usage: /muteall <on:off>
  3. trigger:
  4. if arg 1 is "on":
  5. set {mute all} to true
  6. broadcast "&a&lAll players muted!"
  7. if arg 1 is "off":
  8. set {mute all} to false
  9. broadcast "&a&lAll players unmuted!"
  10.  
  11.  
  12. on chat:
  13. {mute all} is true
  14. player is not op
  15. cancel the event
  16. message "&a&lAll players are muted!" to the player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement