bind pub - !ip2nick ip2nick
proc ip2nick {n u h c a} {
putserv "PRIVMSG $c :$n: /quote WHO $a"
}
If you REALLY want it, make a couple of raw binds and parse the who-replies. It'll be a total mess though, as you'll need to have some sort of queue for when people issue a new request before the previous one is completed and to avoid flooding etc. Too much work for too little IMO.
352
RPL_WHOREPLY
"<channel> <user> <host> <server> <nick> <H|G>[*][@|+] :<hopcount> <real name>"
315
RPL_ENDOFWHO
"<name> :End of /WHO list"
- The RPL_WHOREPLY and RPL_ENDOFWHO pair are used to answer a WHO message. The RPL_WHOREPLY is only sent if there is an appropriate match to the WHO query. If there is a list of parameters supplied with a WHO message, a RPL_ENDOFWHO must be sent after processing each list item with <name> being the item.