« Back to Product

Documentation

IPS_ScriptExists

 boolean IPS_ScriptExists (int $ScriptID) 

Parameters

ScriptID

ID of the script

Returns

If the command succeeds, it returns TRUE, otherwise FALSE.

Description

This function checks if the script with the ID ScriptID exists.

Example

if (IPS_ScriptExists(34881))
    echo "A script with this ID exists!";
Any questions?