Author Topic: restart a trigger block  (Read 768 times)

  • All members
  • Posts: 5
restart a trigger block
« on: 12 Feb 2018, 07:37 »
Hi, I'm sure this is fairly simple.  I want to restart a trigger block with all user variables reset when i reach a maximum loss.  I already have the trigger and all the variables working, including the loss figure, i just need to know how i reset the entire trigger block when i reach the target loss.  Thanks.

  • Administrator
  • Posts: 8803
  • Gender: Female
Re: restart a trigger block
« Reply #1 on: 12 Feb 2018, 07:37 »

See the example trigger attached. You add it to your block before any betting triggers.

Insert in this trigger every variable that you need to reset, similarly to the current_lss variable that I put there as an example.

The trigger is repeated every 30 seconds to check if the total loss has exceeded the value set in the constant.
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