All pastes #493564 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-05-17 20:54 UTC
rendered paste body
on *: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 $+ !
}
}