Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- P: &8[&3MCGunners&8] &r
- H:&a
- C:&c
- command /chat <text>:
- permission: skript.op
- usage: /chat <on:off>
- trigger:
- if arg-1 is "on" or "enable":
- set {muteall} to false
- broadcast "{@P}{@C} Chat Turned {@H}On{@C} By &8[{@H}%command sender%&8]{@C}!"
- if arg-1 is "off" or "disable":
- set {muteall} to true
- broadcast "{@P}{@C} Chat Turned {@H}Off{@C} By &8[{@H}%command sender%&8]{@C}!"
- on chat:
- if {muteall} is true:
- cancel the event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement