OnTopic
Topic change on a channel
Parameters
$0 = Nickname
$1 = Username
$2 = Hostname
$3 = New topic string
Window
Channel
Description
Triggered when a TOPIC message is received for a given channel.
The topic change has not been executed effectively in the current window so you can still access the old topic by the channel functions.
The new topic is passed as fourth parameter and will effectively become the current topic just after this event handler has been executed.
Since this event is triggered in the channel window, you can get the channel name by using the $target function.
Calling 'halt' in this event will stop the topic message output.
See also
onmejoin

Index, Events