Added in 1.8.10

$event

Returns the name of the event that was triggered.

Example

; Print the triggered event.
on *:TEXT:*:*:echo -ag event is $event