Stuff
public text v1 · immutableon *:TEXT:!mute*:#: {
who $2
if ($2 == $me) {
msg $chan Attempting to mute me is very unwise. | halt
}
if ($2 !ison $chan) notice $nick You can't mute someone that isn't in the channel! | halt
if (!$3) notice $nick Please specify the amount of minutes you wish to mute $2 for. | halt
if ($nick isop $chan || $nick ishop $chan || $nick isvoice $chan) {
ban $+(-u,$calc($3 * 60)) $chan $+(~q:,$address($2,2))
mode $chan -ohv $2 $2 $2
}
}