It seems to return number and stop when condition is met, but problem is this number is NOT the last roll number neither I can find it in betting history at all. That's strange. I added resetseed() at start but it didn't help.
IT'S OK NOW!
chance=97.83
nextbet=0.00000100
bethigh=true
function dobet()
if (lastBet.Roll == 99.99) then
print(lastBet.Roll)
print(lastBet.id)
alarm()
stop()
end
end
I think it was some sorting problem. Thanks for help!
