All pastes #570674 Raw Edit

Stuff

public text v1 · immutable
·published 2007-06-16 20:32 UTC
rendered paste body
on *:JOIN:#pest-unit:{ 
  if (%whois. [ $+ [ $chan ] ] == on) { 
    set %whois #pest-unit.staff 
    whois $nick 
  } 
} 
raw 319:*:{ 
  if (%whois) { 
    msg %whois 7 $2 3is on:7 $3- 
    unset %whois 
  } 
} 
on $*:TEXT:/^[!@.]whois/Si:#:{ 
  if ($nick isop $chan || $nick ishop $chan) { 
    if (!$2) { 
      if (!%whois. [ $+ [ $chan ] ]) { 
        set %whois. [ $+ [ $chan ] ] on 
        notice $nick 3Whois is now 7on 
      } 
      else { notice $nick 3Whois is currently %whois. [ $+ [ $chan ] ] } 
    } 
    elseif ($2 == off) { 
      set %whois. [ $+ [ $chan ] ] off 
      notice $nick 7Whois is now 3off 
    } 
    elseif ($2 == on) { 
      set %whois. [ $+ [ $chan ] ] on 
      notice $nick 3Whois is now 7on 
    } 
  } 
}