boolean IPS_InstanceExists (integer $InstanceID)
InstanceID | ID of the Instance to be tested |
If the InstanceID exists in the system, TRUE is returned, otherwise FALSE. |
The command checks whether the instance exists with the ID InstanceID.
if (IPS_InstanceExists(45724)) echo "Instance already exists!";