bconfig = {
maxBet: 0.00000256,
wait: 777,
toggleHilo:false
};
hilo = 'lo';
multiplier = 2;
rollDice = function() {
if ($('#double_your_btc_bet_lose').html() !== '') {
$('#double_your_btc_2x').click();
$('#double_your_btc_3x').click();
$('#double_your_btc_4x').click();
$('#double_your_btc_6x').click();
multiplier++;
if(bconfig.toggleHilo)toggleHiLo();
} else {
$('#double_your_btc_min').click();
multiplier = 2;
}
if (parseFloat($('#balance').html()) < (parseFloat($('#double_your_btc_stake').val()) * 2) ||
parseFloat($('#double_your_btc_stake').val()) > bconfig.maxBet) {
$('#double_your_btc_min').click();
}
$('#double_your_btc_bet_' + hilo + '_button').click();
setTimeout(rollDice, (multiplier * bconfig.wait) + Math.round(Math.random() * 100));
};
toggleHiLo = function() {
if (hilo === 'lo') {
hilo = 'lo';
} else {
hilo = 'lo';
}
};
rollDice();