OnCommandInfo is a TIdIrcOneParmEventevent handler that allows the server to respond to the IRC INFO command. INFO is used to retrieve information which describes the server in Parm, including the version number, patch level, date started, and miscellaneous data relevant to server identification.
Parm can contain a server name, a host name mask with wildcard characters, or a user nickname that identifies the target of the INFO request. For example:
- csd.bu.edu - request information for a specific server.
- *.edu - request information from the first available server.
- MyNick - request information from the server where MyNick is connected.