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

property OnCommandKill: TIdIrcTwoParmEvent;
Description
OnCommandKill is a TIdIrcTwoParmEvent event handler that allows the server to respond to the IRC KILL command. KILL is used to cause the server connection to the client to be closed on the server that hosts the client connection. KILL is generally used by servers to close connection for duplicates entries in the list of valid NickNames. KILL is also available to channel operators.

Parm1 is the user NickName for the connection to be closed.

Parm2 is a comment that reflects the reason that the connection is closed. The name of the user generating the message and all servers in the IRC network path is prepended to Parm2.

Note: It is recommended that only channel operators be allowed to KILL user connections.