Unnamed
public text v1 · immutableon *:text:!mute*:#: {
if ($4) {
if ($nick isop $chan || $nick ishop $chan) {
mode $chan +b ~q: $+ $address($2,2)
inc %muted
msg $chan $nick was muted! reason: %reason
Notice $nick You have been muted by $nick! reason: %reason
timer 1 $calc($3 * 60) mode $chan -b ~q: $+ $address($2,2)
}
}
}
on *:text:!unmute*:#: {
if ($nick isop $chan || $nick ishop $chan) {
mode $chan -b ~q: $+ $address($2,2)
notice $nick You have been unmuted by $nick $+ !
}
}