Post
Topic
Board Gambling discussion
Re: Seuntjie' Dice bot programmers mode discussion.
by
chilly2k
on 21/12/2017, 03:42:18 UTC
Thanks
I think that there should be base not basebet?
nextbet=basebet

and how can i make it randomly change  hi lo?

  This is from memory..  Add this to the end, just before the last "end".  And I think your right base vs basebet

if math.random() < .5 then
  bethigh = !bethigh
end

   
..   math.random()  will generate a random number between 0 - 1.  so .5 would be the middle.  1/2 the time it should switch your high low betting. 

It will do this check after every bet.  If you only want to do it for loses move it to the else path of the if win statement.