Documentation
IPS_EventExists
bool IPS_EventExists (int $EventID)
Parameters
| EventID | ID of the event to be tested |
Returns
If the EventID exists in the system, TRUE is returned, otherwise FALSE.
Description
The function checks whether an event with the ID EventID exists.
Example
if (IPS_EventExists(34881))
echo "An event with this ID exists!";