raw *:*:{
if ($numeric == 307) { haltdef | did -o whois 3 5 $snick($active,1) $3- }
elseif ($numeric == 311) { haltdef | did -o whois 3 1 Host: $3 $+ @ $+ $4 }
elseif ($numeric == 312) { haltdef | did -o whois 3 3 Server: $3 | did -o whois 3 4 Location: $4 $5 }
elseif ($numeric == 313) { haltdef | did -o whois 3 6 $snick($active,1) $3- }
elseif ($numeric == 317) { haltdef }
elseif ($numeric == 318) {
haltdef
if ( %whois.channels != $+($cid,$2) ) {
did -o whois 3 2 $snick($active,1) most likely has the channels s/he is on hidden.
unset %channels
}
}
elseif ($numeric == 319) { haltdef | did -o whois 3 2 Channels: $3- | set %whois.channels $cid $+ $2 }
else { halt }
}
This option works, but only for the 'name' line, and channels line if the user has their channels hidden (ie. +p) I'm so close, yet so far to having this complete - I really need this final answer .
If anyone can help I'd be most appreciative.