Internet Direct (Indy) Version 9.0.1 Beta
TIdIRCServer.OnCommandWhoWas
Event handler for the IRC WHOWAS command.

property OnCommandWhoWas: TIdIrcThreeParmEvent;
Description
OnCommandWhoWas is a TIdIrcThreeParmEvent event handler that allows the server to respond to the IRC WHOWAS command. WHOWAS is used to retrieve information about a nickname which no longer exists. This may either be due to a nickname change or the user leaving IRC.

In response to this query, the server searches through its nickname history, looking for any nicks which are lexically the same (no wild card matching here). The history is searched backward, returning the most recent entry first. If there are multiple entries, up to Parm2 replies will be returned (or all of them if no Parm2 parameter is given). If a non-positive number is passed as being Parm2, then a full search is done.