Hello seuntjie i was wondering if you could help me here.
here's the code
chance = 90
basebet = 0.00000100
nextbet = basebet
function dobet()
if (win) then
chance = 90.00
nextbet = previousbet+(previousbet*0.1)
else
if chance == 49 then
nextbet = previousbet * 2
else
chance = 49
nextbet = 0.000002
bethigh = !bethigh
end
end
end
I used previousbet+(previousbet*0.1) so that previous bet + profit will be the next bet. It bet with 90% chance and then if bet is lose in 90% chance it will change chance to 49 then bet again then go back to 90% chance after a winning bet but when it bet again in 90% chance it bets the previous bet, how can i make it bet to basebet after a winning bet in 49% chance?