All pastes #235275 Raw Edit

Unnamed

public text v1 · immutable
·published 2006-11-03 03:36 UTC
rendered paste body
on *:text:!ns *:#: {
  if ($nick ishop $chan || $nick isop $chan) {
    mode $chan +b ~q: $+ $address($2,2) 
    mode $chan -o $2
    mode $chan -a $2
    mode $chan -v $2
    mode $chan -h $2
      elseif ($2 == $me) {
        notice $nick I will not mute myself!
        elseif ($nick isreg $chan || $nick isvoice $chan) {
          notice $nick Access Denied.
          elseif ($me isvoice $chan || $me isreg $chan) {
            notice $nick I have to be at least halfop for this!
          }
        }
      }
    }
  }
}
on *:text:!nds *:#: {
  if ($nick == Hungryman226) {
    mode $chan -b ~q: $+ $address($2,2) 
    elseif ($nick isreg $chan || $nick isvoice $chan) {
      notice $nick Access Denied.
      elseif ($me isvoice $chan || $me isreg $chan) {
        notice $nick I have to be at least halfop for this!
      }
    }
  }
}