on $*:TEXT:/^[!@.](whois|check|chans)/Si:#: { if (!$2) { notice $nick No nick specified } elseif (! isin $1- || . isin $1-) { whois $2 set %whois $nick $2 } else { whois $2 set %whois $chan $2 } } raw 319:*: { if ($2 == $gettok(%whois,2,32)) { msg $chan $gettok($whois,1,32) $gettok(%whois,2,32) is on the following channels: $3- unset %whois } }