Author Topic: How double the stake in a inserted way  (Read 3251 times)

Tags:
  • All members
  • Posts: 3
  • Gender: Male
How double the stake in a inserted way
« on: 05 Jun 2013, 22:02 »
Hi,

I´m creating a trigger and I want it works with a double stake without matter the previous result and then go back to the default stake, like this:

1. Bet $10,   2. Bet $20,   3. Bet $10,   4. Bet $20 .............

How can I do it?
Life is so cool!!!

  • Tim Vetrov
  • Administrator
  • Posts: 4873
  • Gender: Male
*
Re: How double the stake in a inserted way
« Reply #1 on: 06 Jun 2013, 18:56 »
If you bet (assuming lay) each game
Code: [Select]
lay_size*(games_played%2+1)
if not
Code: [Select]
IF(hist_1_laya=lay_size,2,1)*lay_size
Proud to be 🇺🇦
I'm happy to help Monday - Friday, 08:00-18:00 GMT
Буду рад помочь с понедельника по пятницу, 08:00-18:00 GMT

  • All members
  • Posts: 3
  • Gender: Male
Re: How double the stake in a inserted way
« Reply #2 on: 06 Jun 2013, 19:37 »
Hi Tim,

Thanks for answer, unfortunately I must confess that I do not understand anything.
I´m new in this trigger think, also in X-Febber.

Please help me a little more with this

Many thanks
Life is so cool!!!

  • Tim Vetrov
  • Administrator
  • Posts: 4873
  • Gender: Male
*
Re: How double the stake in a inserted way
« Reply #3 on: 06 Jun 2013, 21:10 »
Trigger should be like this:

Action: Lay
Price: Current best
Amount: IF(hist_1_laya=lay_size,2,1)*lay_size

Other fields for example
Round: 2
Selection: Favourite
Channel: Poker
Proud to be 🇺🇦
I'm happy to help Monday - Friday, 08:00-18:00 GMT
Буду рад помочь с понедельника по пятницу, 08:00-18:00 GMT

 

Please note, BetFair is seems to be currently OFFLINE