EventHandler()

function EventHandler(): string;

This function returns the name of the event-handler that triggered the execution of the script currently being run.

Example

{
  var evth = EventHandler();
  Log(evth); // will log (for example): AfterFileUpload
}