Jump to content

if timeRan is between two time vars do method help


Lewis

Recommended Posts

Looking to add account switching to my script. Would like it to switch after example when timeRan is between 3 hour and 4 hours

But i cant seem to figure out how to get it to call when its at a random time between the two, instead of being called as soon as timeRan is = 3:00:01

compared to 3:27:51 for example (random time between the two)

Link to comment
Share on other sites

Looking to add account switching to my script. Would like it to switch after example when timeRan is between 3 hour and 4 hours

But i cant seem to figure out how to get it to call when its at a random time between the two, instead of being called as soon as timeRan is = 3:00:01

compared to 3:27:51 for example (random time between the two)

Start a timer firstly

then generate an number in mins between 3 hours in mins and 4 hours in mins

 

check if the timer is greater than that number in mins or not and acc switch?

 

idk though im just probably spurting out random crap

Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...