0% found this document useful (0 votes)
42 views

Script 20 Ru7567u567 - Betlo

The document defines JavaScript code to automate betting on a Bitcoin doubling website. It includes: 1) Functions to start and stop the automated betting by binding buttons to trigger betting and checking for win/loss results. 2) Variables to track the betting pattern, current bet count, initial/current balances. 3) A function to validate the result of each bet against the defined betting pattern, stop if a match is found, otherwise continue betting.

Uploaded by

torcologic
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views

Script 20 Ru7567u567 - Betlo

The document defines JavaScript code to automate betting on a Bitcoin doubling website. It includes: 1) Functions to start and stop the automated betting by binding buttons to trigger betting and checking for win/loss results. 2) Variables to track the betting pattern, current bet count, initial/current balances. 3) A function to validate the result of each bet against the defined betting pattern, stop if a match is found, otherwise continue betting.

Uploaded by

torcologic
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

var x = '<div id="botonera" class="large-12 small-12 columns center">' +

'<button id="start" onclick="iniciar()" class="btn btn-primary"


style="margin:0 0 10px 0; padding:3px; width:auto;">Iniciar</button>' +
'</div>' +
'<div class="large-12 small-12 columns center">' +
'<input type="text" id="patrones" value="RRR-VVV"
style="text-align:center; height:30px;">' +
'</div>'
$("#double_your_btc_right_section p:first").html(x);

$('#double_your_btc_bet_lose').unbind();
$('#double_your_btc_bet_win').unbind();
var jugadas; var patron; var boton;
var hacerParada = false; var balanceInicial; var balanceActual;
function iniciar(){
boton = $("#double_your_btc_bet_lo_button");
//var boton = $("#double_your_btc_bet_lo_button");
patron=$("#patrones").val();
hacerParada=false;
$("#botonera").html('<button id="start" onclick="parar()" class="btn btn-warning
style="margin:0 0 10px 0; padding:3px; width:auto;">Parar</button>');
jugadas = "";
$('#double_your_btc_stake').val('0.00000001');
//$("#double_your_btc_bet_hi_button").trigger("click");
boton.trigger("click");
balanceInicial = ( parseInt(parseFloat ( $("#balance").html() ) * 100000000) );
}

function parar(){
hacerParada = true;
$("#botonera").html('<button id="start" onclick="iniciar()" class="class="btn
btn-primary" style="margin:0 0 10px 0; padding:3px;
width:auto;">Iniciar</button>');
}

$('#double_your_btc_bet_lose').bind("DOMSubtreeModified",function(event){
if (hacerParada) return;
if( $(event.currentTarget).is(':contains("lose")') ){
validarPatron("R");
}
});

$('#double_your_btc_bet_win').bind("DOMSubtreeModified",function(event){
if (hacerParada) return;
if( $(event.currentTarget).is(':contains("win")') ){
validarPatron("V");
}
});

function validarPatron(resultado){
jugadas+= resultado;
var cadena = $("#patrones").val();
var patrones = cadena.split("-");
for (var i = 0; i < patrones.length; i++) {
var longitud = patrones[i].length;
var valor = jugadas.substr(jugadas.length - longitud);
var patron = patrones[i].substr(0,longitud);
if (valor==patron){
parar();
balanceActual = (parseInt(parseFloat ($
("#balance").html())*100000000));
var inversion = balanceActual-balanceInicial;
alert("Patr�n encontrado: " + valor + "\nInversi�n:" +
inversion + " satoshis" );
return;
}
}
boton.trigger("click");
}

You might also like