on TOPIC

 

The on TOPIC event triggers when a user changes a channel topic.

 

Format:        on <level>:TOPIC:<#[,#]>:<commands>

Example:        on 1:TOPIC:#mIRC:/msg $chan Hmm, odd topic!

 

Examples

 

on 1:TOPIC:#mIRC4Dummies:/describe $chan admires $nick $+ 's new topic!

 

This triggers when a user changes the topic on channel #mIRC4Dummies. The $1- parameters hold the actual text of the new topic.