Jump to content
Sign in to follow this  
Shatner3

Random Sleeping?

Recommended Posts

Shatner3

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:

Share this post


Link to post
Share on other sites
mcfr1es

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.

Share this post


Link to post
Share on other sites
Shatner3

the helpfile is your friend :ph34r:

take a look at the random section

<{POST_SNAPBACK}>

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

Share this post


Link to post
Share on other sites
mcfr1es

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.

Share this post


Link to post
Share on other sites
Shatner3

lol its seems to work... heh

Share this post


Link to post
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
Sign in to follow this  

×