chance =
multiplier =
base = 0.00000010
seedreset = false
function dobet()
if win then
nextbet=base
bethigh = !bethigh
else
nextbet=previousbet*multiplier
end
if seedreset then
if lastBet.nonce > 1 then
-- nonce not reset
stop()
else
-- nonce reset, continue
seedreset = false
end
end
if (lastBet.nonce % 70) == 0 then
resetseed()
seedreset = true
end
end
Don't forget to put your chance and multiplier value in!