Thanks almost correct but
after win it should not change the bet it should stay wat it was before
I need 2 counts or profit
first everytime when profit hits 100 sato it needs to reset bet and next when total profit hits 1000 it should stop
chance=49.50
multiplier=2
base=0.00000001
nextbet=base
bethigh=true
function dobet()
if win then
nextbet=base
end
else
nextbet=previousbet*multiplier
end
if profit > 0.00000100 then
resetstats()
nextbet=base
end
if profit > 0.00001000 then
stop()
ching()
end
end