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

property OnCommandTopic: TIdIrcTwoParmEvent;
Description
OnCommandTopic is a TIdIrcTwoParmEvent event handler that allows the server to respond to the IRC TOPIC command. TOPIC is used to change or view the topic for a channel.

Parm1 is the channel to be affected by the message.

Parm2 is the topic for the specified channel.

If Parm2 is not specified, the current topic for Parm1 will be retrieved.