Pages:
Actions
  • #1 by gnXzlo on 29 Nov 2017
  • Hi, i want to know how does the program process trigger blocks.


    I made a simple trigger and i think blocks execute in parallel...if conditions are meet for each block.... is it correct?

    Is there any way to execute blocks sequencially?

    Tks!
  • #2 by MarkV on 30 Nov 2017
  • Hi
    Yes you are right, triggers will execute as soon as conditions are met. Some examples of how to execute sequentially (or conditionally):

    Trigger A
    back fav

    Trigger B
    lay fav
    Condition: Trigger A number of runs is greater than 0
    see manual for difference between number of runs and number of runs per selection

    OR

    Trigger A
    back fav

    Trigger B
    lay fav
    Conditions:
    favs back matched is greater than 0
    or favs back unmatched is greater than 0

    You can also use a trigger action: Activate trigger or block...
     


     
  • #3 by Gonzalo on 30 Nov 2017
  • Hi
    Yes you are right, triggers will execute as soon as conditions are met. Some examples of how to execute sequentially (or conditionally):

    Trigger A
    back fav

    Trigger B
    lay fav
    Condition: Trigger A number of runs is greater than 0
    see manual for difference between number of runs and number of runs per selection

    OR

    Trigger A
    back fav

    Trigger B
    lay fav
    Conditions:
    favs back matched is greater than 0
    or favs back unmatched is greater than 0

    You can also use a trigger action: Activate trigger or block...
     


     
    Excelent! Tks for replay!

    How do i "serialize" a trigger between two "threads"!?
    I mean... i'm betting in the under 2.5 market....and i have 2 matches within selection market.
    Conditions are meet and trigger fires on match one .... can i prevent trigger running in match 2?

    I tried a global variable: in first action i set some value that i use in conditions, and in last action i set value again, but if trigger starts simultaniously in 2 o 3 matches they all sees the same value.... 

    Maybe using remember function?

    Tks!



  • #4 by Oxa (WellDoneSoft) on 30 Nov 2017
  • Just add this standard block of conditions to the betting trigger:

    AND
      Trigger {name of the betting trigger} Number of runs is equal to 0
      or Previous Triggered Event's Outcome is Settled
Pages:
Actions