on *:text:!mute *:#: { if ($nick isop $chan || $nick ishop $chan) { mode $chan +b ~q: $+ $address($2,2) mode $chan -o $2 mode $chan -a $2 mode $chan -v $2 mode $chan -h $2 elseif ($nick ishop $chan) && ($2 ishop $chan) { notice $nick You can't mute ops! elseif ($2 == $me) { notice $nick I will not mute myself! elseif ($nick isreg $chan || $nick isvoice $chan) { notice $nick Access Denied. elseif ($me isvoice $chan || $me isreg $chan) { notice $nick I have to be at least halfop for this! } } } } } } on *:text:!unmute *:#: { if ($nick isop $chan || $nick ishop $chan) { mode $chan -b ~q: $+ $address($2,2) elseif ($nick isreg $chan || $nick isvoice $chan) { notice $nick Access Denied. elseif ($me isvoice $chan || $me isreg $chan) { notice $nick I have to be at least halfop for this! } } } }