Author Topic: triggered events  (Read 1426 times)

Tags:
  • All members
  • Posts: 107
triggered events
« on: 07 Jul 2018, 13:45 »
Hi,
Is there a way to ensure "ALL" triggered events are settled, before another trigger fires?
Thanks

  • All members
  • Posts: 24
  • Gender: Male
Re: triggered events
« Reply #1 on: 07 Jul 2018, 22:21 »
Are the events like football and happening at the same time or is it like horse racing/dogs and the events are at different times?

  • All members
  • Posts: 107
Re: triggered events
« Reply #2 on: 08 Jul 2018, 06:33 »
Hi,
Horse racing. 
To try to explain my situation, i have condition "previous triggered events status is settled". Assume a race settles at 14.45, then, 14.50 race triggers. However, if the 14.30 race overruns its start time by 46 mins and its conditions become ideal, then "its" previous triggered event is also settled and will trigger.
This is the situation i had several times yesterday. 
Hope you understand this rambling nonsense.
Thanks

  • Administrator
  • Posts: 8818
  • Gender: Female
*
Re: triggered events
« Reply #3 on: 08 Jul 2018, 13:31 »
Hello!

Here is the way to do it.

1. Make a trigger that sets a variable, e.g. bet_cntr to 0. The scope should be Global, and the trigger should run "one time only".

2. In the betting trigger, add an action that sets bet_cntr to bet_cntr+1. Also add this condition to the betting trigger:
Selection's Trigger Expression bet_cntr is equal to 0

3. Make another trigger with an action "set user variable bet_cntr to bet_cntr-1". Apply the trigger to settled markets, and in the condition of this trigger add:
Trigger {name of the betting trigger} number of runs is greater than 0.

The idea behind this is to count each time when you place a bet in a market, and then decrement the counter after the market is settled. If the counter is greater than 0, this means that some event is still not settled, so the trigger won't bet.
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

Присоединяйтесь к официальному Telegram-каналу!

 

Please note, BetFair is seems to be currently OFFLINE