Mute/unmute script
public text v1 · immutableon *:text:!mute*:#: {
set %reason $3-
if (%reason == $null) { halt }
elseif ($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($2 * 60) mode $chan -b ~q: $+ $address($2,2)
}
}
on *:text:!unmute*:#: {
mode $chan -b ~q: $+ $address($2,2)
notice $nick You have been unmuted by $nick $+ !
}