Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var n =0
- var i=0
- function trenuj() {
- button1.click();
- setTimeout(function(){
- button2.click();
- },1000);
- }
- function DoIt(){
- if (n === 0){
- trenuj();
- n = 2;
- i++;
- }
- if (n === 2 && i < 90) {
- setTimeout(function(){
- n = 0;
- DoIt();
- console.log(i);
- },23000);
- }
- }
- DoIt();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement