All pastes #538288 Raw Edit

Something

public text v1 · immutable
·published 2007-06-05 00:12 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 10 $2 is on:4 $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 10Whois is now 4on 
      } 
      else { notice $nick 10Whois is currently %whois. [ $+ [ $chan ] ] } 
    } 
    elseif ($2 == off) { 
      set %whois. [ $+ [ $chan ] ] off 
      notice $nick 10Whois is now 4off 
    } 
    elseif ($2 == on) { 
      set %whois. [ $+ [ $chan ] ] on 
      notice $nick 10Whois is now 4on 
    } 
  } 
}