Shatner3 Posted August 13, 2004 Share Posted August 13, 2004 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 Link to comment Share on other sites More sharing options...
mcfr1es Posted August 13, 2004 Share Posted August 13, 2004 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 <{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 More sharing options...
Shatner3 Posted August 13, 2004 Author Share Posted August 13, 2004 the helpfile is your friend 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)) Link to comment Share on other sites More sharing options...
mcfr1es Posted August 13, 2004 Share Posted August 13, 2004 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 Roger! You son of a big pile o' Monkey Nuts. Link to comment Share on other sites More sharing options...
Shatner3 Posted August 13, 2004 Author Share Posted August 13, 2004 lol its seems to work... heh Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now