Post
Topic
Board Gambling
Re: Seuntjies DiceBot -Multi-Site, multi-strategy betting bot for dice. With Charts!
by
DCP
on 11/02/2018, 21:01:37 UTC

Code:
if currentstreak==-3 then

I've been working on this for a long time and I'm very close.  Please can you take 1 minute to tell me how to get bet2 to work.  Right now it enters correctly but is repeating bet1.   I don't understand the losecount function properly and i couldn't find any helpful info.


Code:

chance = 50
basebet = .0000001
nextbet = .0000001
bethigh = true
losecount = 0
bet1 = 0.000005
bet2 = 0.000010

function dobet()

if (win) then
   nextbet = basebet
   losecount = 0
else
   nextbet = basebet
if (currentstreak==-3) then
   losecount += 1
end
if currentstreak==-4 then
nextbet = basebet
end

   if (losecount == 1) and (currentstreak==-3) then
      nextbet = bet1
end


if (losecount == 2) and (currentstreak==-3) then
nextbet = bet2
end

end
 end
 
end