command /mutechat:
aliases: cl, stopchat
permission: mutechat.use
permission message: <##32a877> You cannot execute this command.
trigger:
if {cl} is not set:
set {cl} to true
broadcast "<##32a877> %player% has muted chat!"
else if {cl} is true:
delete {cl}
broadcast "<##32a877> %player% has unmuted chat!"
on chat:
if {cl} is true:
cancel event
send "<##32a877> Chat is currently muted." to player