on $*:TEXT:/^!mute( .+)?$/Si:#PCPlace:{
if ($nick !isreg $chan) {
if (!$3) .notice $nick $c1(Syntax:) $c2(!mute <nick> <minutes> [reason])
elseif ($2 !ison $chan) .notice $nick $+($c1("),$2,$c1(" is not currently in) $c2($chan),$c1(.))
elseif ($3 !isnum $+(0-,$regsubex($nick($chan,$nick).pnick,/^(.).+$/,$replace(\1,@,$str(9,50),%,10,+,5)))) .notice $nick $c1(You must specify a mute duration [must be less than) $+($c2($v2),$c2(].))
elseif ($regsubex($nick($chan,$2).pnick,/^(.).+$/,$replace(\1,@,3,%,2,+,1)) >= $regsubex($nick($chan,$nick).pnick,/^(.).+$/,$replace(\1,@,3,%,2,+,1))) && ($2 !isreg $chan) .notice $nick $c1(You cannot mute users who have equal or greater status than yourself.)
else mute $chan $2-
}
}