Documentation
IPS_SetEventTriggerSubsequentExecution
bool IPS_SetEventTriggerSubsequentExecution (int $EventID, bool $AllowSubsequentExecutions)
Parameters
| EventID | ID of the event to be changed |
| AllowSubsequentExecutions | TRUE if permitted, otherwise FALSE |
Returns
If the function succeeds, it returns TRUE, otherwise FALSE.
Description
This function defines whether the event should be run again if it is triggered for the second time on a limit exceed/limit drop. Otherwise, the event is only executed again if the variable value was within the limit range and exceeds it again. For the trigger type "On specific Value", the event is otherwise only executed if the variable value changed to that value.
Example
IPS_SetEventTriggerSubsequentExecution($EventID, true); //Allow