Jump to content

Random Sleeping?


Recommended Posts

Hey guys, i want to tell auto it to sleep for a random amount of time... forinstance

sleep (between 2000 and 5000) and then it generates randomly when it sleeps it could be 2132, 3482, 4829, ect. so you give it 2 guidelines and then it sleeps somewhere inbetween those 2 guidelines.

Thanks :ph34r:

Link to comment
Share on other sites

Hey guys, i want to tell auto it to sleep for a random amount of time... forinstance

sleep (between 2000 and 5000) and then it generates randomly when it sleeps it could be 2132, 3482, 4829, ect.  so you give it 2 guidelines and then it sleeps somewhere inbetween those 2 guidelines.

Thanks  :ph34r:

<{POST_SNAPBACK}>

the helpfile is your friend :(

take a look at the random section

Roger! You son of a big pile o' Monkey Nuts.

Link to comment
Share on other sites

hehe, i was searching the help for sleep commands, when i should have been searching for random commands  :(

would this work?

Sleep(Random(2000, 5000))

<{POST_SNAPBACK}>

try it out and you tell me

:ph34r:

Roger! You son of a big pile o' Monkey Nuts.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

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