How triggers are executed
|Top Previous Next|
A trigger will start checking its conditions and waiting for the opportunity to execute its action ONLY in the games that are actively monitored. If a game is not refreshed (i.e. if you did not start the channel), no triggers will be executed in it.
Besides, a trigger can only be executed if its property "repeat action" is set to anything else except "never".
Once a trigger has been executed, the corresponding record in the "Current Triggers" table will get highlighted. See an example below.
The number in the beginning of the row shows how many times the trigger was executed, since the beginning of the session or since the last time you saved the triggers. If it should be active in more than one channel, the number will show how many times the trigger was executed in all these channels.
The conditions of the trigger are checked during each refresh of the game. That is whenever the new data are retrieved from BetFair, except when the game is suspended (at this time no triggers can be executed).
As the program processes each trigger, it writes down the results of its inspection into "trigger log files". There are text files that are stored in the folders defined by the "Trigger Options". They contain important information as to why the triggers' actions were or were not performed. In the form of a step-by-step report the program records the process of evaluating each trigger condition. You can get more information in the "Trigger Log Files" section.
Triggers are executed in the order of their appearance in the trigger window. The trigger that is situated in the top of the window will be processed first, and the one that is situated in the bottom of the window will be processed in the last turn. The program evaluates their conditions consecutively, skipping those triggers whose conditions are not met.
Therefore, if you want a trigger to be checked before others, you must move it upwards using the drag-n-drop function.