Post
Topic
Board Gambling discussion
Re: Seuntjie' Dice bot programmers mode discussion.
by
sle7in11
on 07/05/2017, 14:53:27 UTC
Are we able to use the < and > in the code?

For example say After 10 total losses in a martingale run I want to reset to base on the next win but keep x2 bets going on losses.

Code:
chance=49.5
basebet=0.00000001
resetseed()
lossCounter=0

function dobet()

if win then

 nextbet=previousbet

  if lossCounter >= 10 then
   nextbet=basebet
  end

else

 lossCounter=lossCounter+1

 nextbet=previousbet*2

end

end

does that work?