K3STROS

Why doent my sleep() work

4 posts in this topic

Self explanatory, why doesn't this work?

Sleep((Random, 990, 1990, 1))

Thanks in advance

Share this post


Link to post
Share on other sites



As Jos said.  Bad Syntax.

 

Break it down into it's pieces and then put them together.

$iTime = Random(990, 1990, 1)
Sleep($iTime)

;or

Sleep(Random(990, 1990, 1))

 

1 person likes this

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

 

$iTime = Random(990, 1990, 1)
Sleep($iTime)

;or

Sleep(Random(990, 1990, 1))

Works perfectly! Thanks alot!

 

Had it coded properly in the rest on my code <_< guess i must of type wrong then copy/paste :sweating:

 

Edited by K3STROS
Figured it out

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