Jump to content
UBot Underground

Loop and Then Pause (Repeat)


Recommended Posts

Question for everyone and I'm not sure if this was covered anywhere else here as I searched long and hard.  I was curious if I had a list of profiles that I scraped in the Ubot and wanted to post to 1000 profiles and then pause let's say every 50 profiles for 10 minutes until the list was exhausted, does anyone know how they would best format this inside of Ubot?

 

At least the part where you pause every 50 profiles?

 

I would greatly appreciate any suggestions.

 

 

 

Link to post
Share on other sites

Hi.

 

a very basic example:

 

 

set(#loopcounter, 0, "Global")
loop(200) {
    increment(#loopcounter)
    comment("Run Your Stuff here")
    if($comparison(#loopcounter"=", 50)) {
        then {
            PauseBot()
            set(#loopcounter, 0, "Global")
        }
        else {
        }
    }
}
define PauseBot {
    wait(600)
}

 

 

Hope that helps.

 

Cheers

Dan

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...