on *:text:!mute*:#pcplace*:{ if ($nick !isreg $chan) { if ($2 == $me) { halt } if ($2 !ison $chan) { halt } if ($address($2,2) == $address($me,2)) { halt } if ($nick isvoice $chan) { if ($3 == $null) || ($3 > 5) { %outputmode 1015]|4 You must specify a time of less than 5 minutes. 15]|[10 | halt } } timer 1 $calc($3 * 60) mode $chan -b ~q: $+ $address($2,2) /mode $chan +b ~q: $+ $address($2,2) if ($3) { /timer 1 $calc($3 * 60) /mode $chan -b ~q: $+ $address($2,2) msg $chan 124]|[ 10$2 1Has Been Muted For:10 $3 1Minutes 4||1Reason:10 $4- $+ 4]|[12 } else { %outputmode 1015]|4 $2 12has been muted by4 $nick $+ 12. 15]|[10 } /writeini -n "tempbans.ini" UserMasks $2 $address($2,2) } } on *:text:!unmute*:#pcplace*:{ if ($nick isop $chan || $nick ishop $chan) { /set %tempbanstemp $readini(tempbans.ini,UserMasks,$2) if (%tempbanstemp) { /mode $chan -b ~q: $+ %tempbanstemp } else { halt } /remini tempbans.ini UserMasks $2 } }