Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /muteall <text>:
- usage: /muteall <on:off>
- trigger:
- if arg 1 is "on":
- set {mute all} to true
- broadcast "&a&lAll players muted!"
- if arg 1 is "off":
- set {mute all} to false
- broadcast "&a&lAll players unmuted!"
- on chat:
- {mute all} is true
- player is not op
- cancel the event
- message "&a&lAll players are muted to stop spam!" to the player
- on command "/helpop":
- {mute all} is true
- player is not op
- cancel the event
- message "&a&lStop the helpop spam." to the player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement