What can we improve?

Documentation

(Edit)

IPS_SetEventLimit

 boolean IPS_SetEventLimit (int $EventID, int $Number) 

Parameters

EventID

ID of the event to be changed

Number

The number of executions before the event is deactivated. 0 = No Limit

Returns

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

Description

The limitation on Number causes that the event will only run as often as specified in the limitation. After running Number times, the event is deactivated. Setting Number = 0 removes the limitation.

Example

IPS_SetEventLimit($EventID, 0);  //No limitation