array IPS_GetScriptEventList (integer $ScriptID)
ScriptID | ID of the script |
A list of IDs of events that are assigned to the script |
This function returns an array whose elements are the respective IDs of the events in which the script ScriptID is used. The events can be further processed by the command IPS_GetEvent.
$events = IPS_GetScriptEventList($_IPS['SELF']); print_r($events); // determines all events of the current script