Post
Topic
Board Gambling discussion
Re: Seuntjie' Dice bot programmers mode discussion.
by
haybee191
on 31/07/2017, 18:22:36 UTC
hello guys, i need a bit of help adjusting the following script, it starts with chance 81.12, and changes to 33.33 chance after first lost and uses a multiplier until a win before reverting to its basebet and starting chance of 81.12. i would simply like for the script to be modified so that when the chance switches to 33.33 after a loss, after 5 losses in a row,the bet size changes to static 0.00000001 until a win and then the previous bet pattern resumes until another row of 5 losses  in a row where it pauses again and bets 0.00000001 until a win where it resumes from the previous level, i believe u understand what i am trying to do here
Code:
chance = 81.12
bethigh = true
basebet = 0.00000031
nextbet = basebet

function dobet()
if (win) then
chance = 81.12
   nextbet = basebet
else
if chance == 33.33  then
nextbet = previousbet * 1.59738
else
chance = 33.33
   nextbet = basebet/3.3
end
end
end