int IPS_GetScriptTimer (int $ScriptID)
ID of the script
Time in seconds that the script is called cyclicly (not the remaining duration)
The function returns the start value of the script timer of the script with the ID ScriptID. The value describes the duration in seconds. The function can be used to check if the value is set correctly.
If the start value is 0, the timer is deactivated and there is no active timer for the script.
$TimerValue = IPS_GetScriptTimer($ScriptID); // determines the value of the script timer