Hi everyone!
I'd like to make bot stop whenever given number is rolled.
I wanted to test it on range first instead of waiting for specified number, so I typed:
if lastBet.Roll < 80.00 then
stop()
end
Unfortunately it doesn't work. So please, would you help me on that?

Even better would be if it saved roll number and keep rolling, but just stopping is fine enough.
PS. This is whole code:
chance=97.83
nextbet=0.00000100
bethigh=true
function dobet()
if (lastBet.Roll > 80.00) then
stop()
end
end