Pages:
Actions
  • #1 by Stephen Po on 12 Feb 2018
  • 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.
  • #2 by Oxa (WellDoneSoft) on 12 Feb 2018
  • Hello!

    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.
Pages:
Actions