$event » History » Version 3
Per Amundsen, 08/09/2015 02:38 AM
1 | 1 | Per Amundsen | _Added in 1.8.10_ |
---|---|---|---|
2 | |||
3 | *$event* |
||
4 | |||
5 | Returns the name of the [[Scripting_Events|event]] that was triggered. |
||
6 | 2 | Per Amundsen | |
7 | 3 | Per Amundsen | *Example* |
8 | |||
9 | 2 | Per Amundsen | <pre> |
10 | ; Print the triggered event. |
||
11 | on *:TEXT:*:*:echo -ag event is $event |
||
12 | </pre> |