All pastes #448101 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-04-19 13:27 UTC
rendered paste body
on *:text:!whois-on:#: { 
  if ($nick isop $chan || $nick ishop $chan) { 
    if (%whois !== on) { 
      set %whois on 
      msg $chan Whois has been enabled for $chan by $nick $+ . 
    } 
  } 
} 
on *:text:!whois-off:#:  {
  if ($nick $isop $chan || $nick ishop $chan) { 
    if (%whois !== off) { 
      set %whois off 
      msg $chan Whois has been disabled for $chan by $nick $+ . 
    } 
  } 
}
on *:join:#:{ 
  if (%whois == on) {
    set %whoisnick $nick
    set %whoischan $chan
    whois $nick
  }
}
raw 319:*:{
  msg %whoischan %whoisnick Is On: $3-
  unset %whoisnick
}