$topic » History » Version 2
Per Amundsen, 12/15/2016 12:42 AM
| 1 | 1 | Per Amundsen | _Added in 1.9.9_ |
|---|---|---|---|
| 2 | |||
| 3 | *$topic* |
||
| 4 | |||
| 5 | 2 | Per Amundsen | Returns the current/old topic during a [[on TOPIC]] [[Scripting_Events|event]]. |
| 6 | 1 | Per Amundsen | |
| 7 | *Example* |
||
| 8 | |||
| 9 | <pre> |
||
| 10 | 2 | Per Amundsen | on *:TOPIC:#:echo -ag Topic was changed from $topic to $1- in channel # |
| 11 | 1 | Per Amundsen | </pre> |