Pages:
Actions
  • #1 by LiAlH4 on 20 Jul 2021
  • Hi,

    I encountered the following problem. I want my trigger to set up a variable that will decide on which market to bet based on numbers of goals scored. 

    Trigger number 1 does - set variable vargoal1 as "market_score1+market_score2+0.5"

    Trigger number 2 does - If market's name contains vargoal1, place a back bet

    The problem is my vargoal1 becomes this    Setting variable vargoal1 to 0.50000000.

    Any work around?

    Thanks in advance
  • #2 by MarkV on 21 Jul 2021
  • Hi
    The easy way to do this is to use this condition:
    Markets Betting Code is Over/Under (Soccer) market_score1+market_score2+0.5

    This will bet in current score OU market. If you wanted to bet say 2 goals ahead of current score OU change the 0.5 to 2.5

    You could probably do it with a user variable, but it's mixing string variables with numeric values and more could go wrong. 
  • #3 by LiAlH4 on 21 Jul 2021
  • Fantastic! Thank you
Pages:
Actions