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

property OnCommandInvite: TIdIrcTwoParmEvent;
Description
OnCommandInvite is a TIdIrcTwoParmEvent event handler that allows the server to respond the IRC INVITE command. INVITE is used to invite the user specified in Parm1 to the channel specified in Parm2.

Parm1 contains the Nickname of the user to be invited to a channel.

Parm2 contains the Channel name where the user is to be invited. There is no requirement that Parm2 identifying an existing or valid channel.

To invite a user to a channel which is by invitation only, the client sending the invite must be recognized as being a channel operator on the given channel.