Internet Direct (Indy) Version 9.0.1 Beta
TIdIRCServer.OnCommandConnect
Event handler for IRC CONNECT commands.

property OnCommandConnect: TIdIrcThreeParmEvent;
Description
OnCommandConnect is a TIdIrcThreeParmEvent event handler that allows the server to respond to the IRC CONNECT command. CONNECT is a privileged IRC command available to IRC Operators, and is used to open a connection to another server. CONNECT is used to build the spanning tree that represents the IRC network.

Parm1 is the target server will be the endpoint for the connection.

Parm2 is an optional port number to use for the connection.

Parm3 is an optional server that represents the origin point for the new connection. When Parm3 is an empty string, the origin is the current server.