rendered paste bodyon *:text:!tgag *:#: {
if ($3 == $null) { notice $nick You didn't supply how many minutes to ban $2 }
elseif ($2 == $null) { notice $nick You didn't specify who to ban }
elseif ($nick ishop $chan) || ($nick isop $chan) || ($nick = Passed-By) {
/ban -ku $+ $calc( $3 * 60 ) # ~q: $+ $address($2,2)
/timer 1 $calc( $3 * 60 ) unset %unvoice
/msg $chan $2 You have been Muted for $3 Mins
/mode # -v $2 $nick
/set %var ($+(%,unvoice,$nick)2) $2
}
}
on *:JOIN:#:{ if (%unvoice [ $+ [ $nick ] ]) { timer 1 2 mode $chan -v $nick } }