integer IPS_CreateScript (integer $SkriptType)
SkriptType |
|
ID of the newly created script |
This function creates a script from the type ScriptType.
The function returns an ID that can help to uniquely identify the generated script. The function automatically generates a corresponding text file named ScriptID.ips.php, e.g., "43954.ips.php". It is possible to use another file with the function IPS_SetScriptFile. In this case, it is recommended to delete the previous script file to avoid unnecessary script files.
$ScriptID = IPS_CreateScript(0); echo"The Script ID is: ". $ScriptID;