Post
Topic
Board Gambling discussion
Re: Seuntjie' Dice bot programmers mode discussion.
by
Eremitos
on 20/07/2017, 03:23:38 UTC
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? Smiley

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