0
I am new in this area. I created this bot for a betting site. I wonder if there is a command for the function to return to the beginning when green.
$("input").val("10");
setTimeout(function(){
$(".btn-bet.green").click();
}, 100);
setTimeout(function(){
$("input").val("11");
$(".btn-bet.green").click();
}, 25000);
setTimeout(function(){
$("input").val("13");
$(".btn-bet.green").click();
}, 50000);
setTimeout(function(){
$("input").val("13");
$(".btn-bet.green").click();
}, 75000);
setTimeout(function(){
$("input").val("13");
$(".btn-bet.green").click();
}, 100000);
setTimeout(function(){
$("input").val("13");
$(".btn-bet.green").click();
}, 125000);
setTimeout(function(){
$("input").val("13");
$(".btn-bet.green").click();
}, 150000);
setTimeout(function(){
$("input").val("13");
$(".btn-bet.green").click();
}, 175000);
setTimeout(function(){
$("input").val("13");
$(".btn-bet.green").click();
}, 200000);
setTimeout(function(){
$("input").val("13");
$(".btn-bet.green").click();
}, 225000);
setTimeout(function(){
$("input").val("13");
$(".btn-bet.green").click();
}, 250000);
setTimeout(function(){
$("input").val("13");
$(".btn-bet.green").click();
}, 275000);
setTimeout(function(){
$("input").val("13");
$(".btn-bet.green").click();
}, 300000);
setTimeout(function(){
$("input").val("13");
$(".btn-bet.green").click();
}, 325000);
setTimeout(function(){
$("input").val("13");
$(".btn-bet.green").click();
}, 350000);
setTimeout(function(){
$("input").val("13");
$(".btn-bet.green").click();
}, 375000);
setTimeout(function(){
$("input").val("13");
$(".btn-bet.green").click();
}, 400000);
setTimeout(function(){
$("input").val("13");
$(".btn-bet.green").click();
}, 425000);
setTimeout(function(){
$("input").val("13");
$(".btn-bet.green").click();
}, 450000);
setTimeout(function(){
$("input").val("13");
$(".btn-bet.green").click();
}, 475000);
setTimeout(function(){
$("input").val("13");
$(".btn-bet.green").click();
}, 500000);
setTimeout(function(){
$("input").val("13");
$(".btn-bet.green").click();
}, 525000);
setTimeout(function(){
$("input").val("13");
$(".btn-bet.green").click();
}, 550000);
setTimeout(function(){
$("input").val("13");
$(".btn-bet.green").click();
}, 575000);
setTimeout(function(){
$("input").val("13");
$(".btn-bet.green").click();
}, 600000);
setTimeout(function(){
$("input").val("13");
$(".btn-bet.green").click();
}, 625000);
setTimeout(function(){
$("input").val("13");
$(".btn-bet.green").click();
}, 650000);
setTimeout(function(){
$("input").val("13");
$(".btn-bet.green").click();
}, 675000);
setTimeout(function(){
$("input").val("13");
$(".btn-bet.green").click();
}, 700000);
setTimeout(function(){
$("input").val("13");
$(".btn-bet.green").click();
}, 725000);
setTimeout(function(){
$("input").val("13");
$(".btn-bet.green").click();
}, 750000);
setTimeout(function(){
$("input").val("13");
$(".btn-bet.green").click();
}, 775000);
setTimeout(function(){
$("input").val("13");
$(".btn-bet.green").click();
}, 800000);
Please do not type text in the upper box, it impairs reading. Edit the question by accessing the [Edit] link and write normally. Take advantage and do the [tour] to learn the basics of the site and read the [Ask] guide. To properly format your code, use the button
{}
of the editor.– Woss
Why do you start with
$("input").val("10");
, then there’s$("input").val("11");
and all the others are$("input").val("13");
?– Victor Stafusa
this script is only a test actually when hit the green the amount bet is multiplied po 14X
– Ramon Silva
the reason is 1.1x each bet, but the question is as follows, if it goes green I would like you to return to the beginning of the function
– Ramon Silva
there is Alum Return command that I can use for example if green Return
– Ramon Silva
this site is formed by 3 colors, red, green, and black, in case the bet on green wins 14x the value bet, with this function I put the value you want to play on green, but I wanted a command that identified the green and returned to base again, ie at the first bet
– Ramon Silva