This read-only variable returns the type of event currently being executed, which can be one of the following constants:
For a full list of the constants that are related to the different events see event_perform(), and if you should need the event number (ie: the sub event), you should be checking the event_number.
event_type;
Real
show_debug_message("Current Event = " + string(event_type));
The above code will show a debug message with the event type currently being performed.