Post
Topic
Board Gambling
Re: Seuntjies DiceBot -Multi-Site, multi-strategy betting bot for dice. With Charts!
by
martum
on 06/01/2017, 06:40:49 UTC
how can i set bot to rebet after some case.

Code:
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
Code:
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