_Added in 1.9.9_ *$topic* Returns the current/old topic during a [[on TOPIC]] [[Scripting_Events|event]]. *Example*
on *:TOPIC:#:echo -ag Topic was changed from $topic to $1- in channel #