All pastes #995441 Raw Edit

!mute script

public text v1 · immutable
#995441 ·published 2008-04-24 04:44 UTC
rendered paste body
on @*:text:!mute*:#:{ 
  if ($nick(#,$nick,oh)) { 
    if ($2 != kyle|Darkblood89)  {
      mode $chan -aohv+bm $2 $2 $2 $2 ~q: $+ $address($2,2)
      msg $chan I just muted $2 Reason: $3-
    }
  }
}
on @*:text:!unmute*:#:{ 
  if ($nick isop $chan) || ($nick ishop $chan) {
    ./mode $chan -
    ./mode $chan -b ~q: $+ $address($2,2)
    ./msg $chan I just unmuted $2 
  }
}