can pls change the code of this
i need script call function multiply() if i have 4 times loss
loss
loss
loss
loss
script call function multiply() to multiply BET AMOUNT
var startValue = '0.00000001', // Don't lower the decimal point more than 4x of current balance
stopPercentage = 0.001, // In %. I wouldn't recommend going past 0.08
maxWait = 3000, // In milliseconds
stopped = false,
stopBefore = 3; // In minutes
multiplyCalls = 1; // <--- Added this global
var $loButton = $('#double_your_btc_bet_lo_button'),
$hiButton = $('#double_your_btc_bet_hi_button');
function multiply(){
if(multiplyCalls < 1){ // test multiply
var current = $('#double_your_btc_stake').val();
var multiply = (current * 2).toFixed(8);
$('#double_your_btc_stake').val(multiply);
multiplyCalls++; // increment
}else{
reset();
console.log('=== RESETING ===');
}
}
script call function multiply()
can pls change the code of this i need script call function multiply() if i have 4 times loss loss loss loss loss script call function multiply() to multiply BET AMOUNT
var startValue = '0.00000001', // Don't lower the decimal point more than 4x of current balance stopPercentage = 0.001, // In %. I wouldn't recommend going past 0.08 maxWait = 3000, // In milliseconds stopped = false, stopBefore = 3; // In minutes multiplyCalls = 1; // <--- Added this global
var $loButton = $('#double_your_btc_bet_lo_button'), $hiButton = $('#double_your_btc_bet_hi_button');
function multiply(){ if(multiplyCalls < 1){ // test multiply var current = $('#double_your_btc_stake').val(); var multiply = (current * 2).toFixed(8); $('#double_your_btc_stake').val(multiply); multiplyCalls++; // increment }else{ reset(); console.log('=== RESETING ==='); } }