Sign in to follow this  
Followers 0
Sparrowlord

While Timing

2 posts in this topic

How would I set a time on the While 1 thing? I need it to run for 5 minutes then go to the next step.

Share this post


Link to post
Share on other sites



How would I set a time on the While 1 thing? I need it to run for 5 minutes then go to the next step.

$timer = TimerInit()

While TimerDiff($timer) < 300000
    ; do something
WEnd

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  
Followers 0