Advertisement
Guest User

Untitled

a guest
Apr 12th, 2014
668
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 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 stop spam!" to the player
  17.  
  18.  
  19. on command "/helpop":
  20. {mute all} is true
  21. player is not op
  22. cancel the event
  23. message "&a&lStop the helpop spam." to the player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement