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

property OnCommandWho: TIdIrcTwoParmEvent;
Description
OnCommandWho is a TIdIrcTwoParmEvent event handler that allows the server to respond to the IRC WHO command. WHO is used to return a list of information which 'matches' the Parm1 parameter.

In the absence of the Parm1 parameter, all visible (users who aren't invisible (user mode +i) and who don't have a common channel with the requesting client) are listed. The same result can be achieved by using a Parm1 of "0" or any wildcard which will end up matching every entry possible.

The Parm1 passed to WHO is matched against users' host, server, real name and nickname if the channel Parm1 cannot be found.

If the "o" parameter is passed only operators are returned according to the name mask supplied.