Greasy Fork is available in English.

Discussions » Creation Requests

script call function multiply()

§
Posted: 22. 04. 2020
Edited: 22. 04. 2020

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 = $('#doubleyourbtcbetlobutton'), $hiButton = $('#doubleyourbtcbethibutton');

function multiply(){ if(multiplyCalls < 1){ // test multiply var current = $('#doubleyourbtcstake').val(); var multiply = (current * 2).toFixed(8); $('#doubleyourbtcstake').val(multiply); multiplyCalls++; // increment }else{ reset(); console.log('=== RESETING ==='); } }

Post reply

Sign in to post a reply.