All pastes #732287 Raw Edit

Untitled

public text v1 · immutable
·published 2007-10-10 20:50 UTC
rendered paste body
on $*:TEXT:/^[@!]halt/Si:#:{ 
  if ($nick isop $chan || $nick ishop $chan) {
    set %blah on
    /timers off
    /msg $chan 4the bot has been halted by operator $nick
    /mode $chan -m
    while (%i <= %t) {
      if ($nick($chan,%i) != $me) /mode $chan -v $nick($chan,%i)
      inc %i
    }
  }
}