All pastes #551441 Raw Edit

Stuff

public text v1 · immutable
·published 2007-06-08 20:08 UTC
rendered paste body
on *:TEXT:!*:#: {
  if (($1 == !autoop) && ($nick isop $chan)) {
    if ($2 == on) {
      set $+(%,autoop.,$chan) on
    }
    if ($2 == off) {
      unset %autoop. [ $+ [ $chan ] ]
    }
  }
}

on *:JOIN:#: {
  if (%autoop. [ $+ [ $chan ] ] == on) {
    mode $chan +o $nick
  }
}