rendered paste bodyon *:TEXT:!mute *:#: {
if ($2 == $null || $3 == $null || $3 !isnum 0-65535) { halt }
if ($nick !ishop $chan || $nick !isop $chan || $address($nick,2) != *!*@Swift-CDBBDB00.dc.dc.cox.net) { halt }
if ($3 isnum 0-65535) {
if ($nick isop $chan || $nick ishop $chan || $address($nick,2) == @Swift-CDBBDB00.dc.dc.cox.net) {
mode $chan +b $address($2,2)
mode $chan -v $2
notice $2 You have been muted for $3 minutes in channel $chan $+ . You will be revoiced and unbanned when your mute is up.
timer 1 $calc(60*$3) mode $chan -b $address($2,2)
timer 1 $calc(60*$3) mode $chan +v $2
timer 1 $calc(60*$3) notice $2 You have been unmuted in channel $chan $+ .
}
}
}