Jump to content
UBot Underground

Wait 30 minute for each run


Recommended Posts

To make even more random, one could do a delay with a random delay between 2,000 and 10,000 seconds - hmmmm. I'm liken it! :rolleyes:

 

Frank

Link to post
Share on other sites
  • 3 months later...
  • 2 weeks later...

I've created a timer sub that takes days,hours,min, and or seconds as input then after calculating the seconds needed it'll loop for that number of seconds.

 

Inside my loop however I set variable to display through a UI stat mon so I get a visual display of how many seconds I have to wait. And sharing is caring, so see attached.

 

Inputs are times as well as a message. Use "Resting %time%s..." to display "Resting 20s...", "Resting 19s..." in the #debug variable

 

That said, put this at the end of a loop and you'll have a visual countdown until the next iteration of your loop

 

PS If you rewrite the code, make sure all those seconds are "set local" to avoid conflicts in your code

_lib_timer.ubot

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...