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