Thanks but still the same probleme ....
The total lost before the bot is stop is more than 0.004
I try the script with stop 0.00000400 and with chance 10
Betting 0.000001 at 10% chance to win, high
Betting 0.00000165 at 10% chance to win, high
Betting 0.0000027225 at 10% chance to win, high
So I lose
0.000001+0.00000165 +0.0000027225 = 0.00000537 and I dont want the total for the lose are more than 0.000004 in this exemple ...
I would like the bot stop after the bet for 165 and dont roll after because the total lose will be more than 400