Post
Topic
Board Gambling discussion
Re: Seuntjie' Dice bot programmers mode discussion.
by
AceFairy
on 13/09/2020, 15:00:28 UTC
i used this code in javascript:
if ((maxBet >= (balance / 3) * 100) && (data.gameResult === 'win') && (balance >= sbalance)) {
            //stop();
            $('#notification').html('Relax & Reload');
            alert('Relax & Reload')
            log('Relax & Reload')
            return;
          }

but how can i make bot stop after it had currentstreak = -10
or 10 losses and it has to win back to original balance then stop?

any ideas?