how can i set bot to rebet after some case.
initialbet = 0.00000005
nextbet = initialbet
chance = 49.0
bethigh = false
test = 0
function dobet()
if (lastBet.Roll <= 10.99) then
test = 1
nextbet = initialbet * 100
-- i need the bot to rebet at this line
end
if test == 1 then
if (win) then
test = 0
nextbet = initialbet
else
nextbet = nextbet * 2
end
end
end
edit : i got it!! just like this
initialbet = 0.00000005
nextbet = initialbet
chance = 49.0
bethigh = false
test = 0
function dobet()
if test == 1 then
if (win) then
test = 0
nextbet = initialbet
else
nextbet = nextbet * 2
end
end
if (lastBet.Roll <= 10.99) then
test = 1
nextbet = initialbet * 100
end
end