boolean IPS_EventExists (int $EventID)
ID of the event to be tested
If the EventID exists in the system, TRUE is returned, otherwise FALSE.
The command deletes an existing variable with the ID EventID.
All the child objects of the event are moved to the root category.
if (IPS_EventExists(34881)) echo "A event with this ID exists!";