Documentation
IPS_GetScriptEventList
array IPS_GetScriptEventList (int $ScriptID)
Parameters
ScriptID | ID of the script |
Returns
A list of IDs of events that are assigned to the script
Description
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.
Example
$events = IPS_GetScriptEventList($_IPS['SELF']);
print_r($events); // determines all events of the current script