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

property OnCommandJoin: TIdIrcTwoParmEvent;
Description
OnCommandJoin is a TIdIrcTwoParmEvent event handler that allows the server to respond to the IRC JOIN command. JOIN is used to signal that a client wishes to listen for IRC messages on the channels specified in Parm1.

Permissions to join a channel are determined by the server that hosts the client connection. All other servers should add the user to the channel when it is received from the origin server. The local server can add a user under the following circumstances:

When a user has joined a channel, they will receive notice about all commands for their server that affect the channel.

Parm1 contains a channel name, or a list of comma-delimited channel names, where the client should listen for IRC messages.

Parm2 contains a key (password), or a list of comma-delimited keys, for all channels where keys are required.