Internet Direct (Indy) Version 9.0.2 Beta
TIdIRCServer.OnCommandWhoIs
Event handler for the IRC WHOIS command.

property OnCommandWhoIs: TIdIrcTwoParmEvent;
Description
OnCommandWhoIs is a TIdIrcTwoParmEvent event handler that allows the server to respond to the IRC WHOIS command. WHOIS is used to query information about users. The server will answer this message with several numeric messages indicating different statuses of each user which matches the nickmask (if you are entitled to see them). If no wildcard is present in the Parm2 any information about that nick which you are allowed to see is presented. A comma (',') separated list of nicknames may be given.

The latter version sends the query to a specific server. It is useful if you want to know how long the user in question has been idle as only local server (ie. the server the user is directly connected to) knows that information, while everything else is globally known.