I wish i could offer some sound advice but I am curious what you ended up sorting up regarding your inquiry.
-mobile
Would you please be so kind and help me instead?

I want to make a function in dicebot that goes under these conditions:
1) basebet = 4 satoshi, multiplier = 50x, betting low at the start (<1.98)
2) every TWO wins (so if total wins amount is even) betamount = previous betamount + 2 satoshi, betting switches to other side (low/high)
3) if balance reaches 0.02 btc, it stops betting.
I made sth like that:
multiplier=50
nextbet = 0.00000004
bethigh=false
function dobet()
if win then
if wins mod 2 = 0 then
nextbet = nextbet + 0.00000002
if bethigh = false then
bethigh=true
else
bethigh = false
end
end
end
if balance = 0.02 then
stop()
end
end
but it obviously has many errors and I can't seem to make it right. Any help would be really appreciated!