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?