Sign in to follow this  
Followers 0
Jabberwock

Sleep & Delays

4 posts in this topic

My script is checking a web page every 30 seconds to check if something has been changed, however what it's checking is irevelant, i was wondering if this Sleep(30000) can be done in a way so that Functions in While 1 can still run while the "timer" is.


Share this post


Link to post
Share on other sites



$begin = TimerInit()

While

; do stuff

$dif = TimerDiff($begin)

if $dif > 30000 then MsgBox(0,"Time Difference",$dif)

Wend

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

you know... i wasn't going to post here... but after the PM

1

you are given a free language

2

You are given free support

3

You can use free programs in Scripts and Scrapts

4

you are posting on a free board

5

there are easily better free scripts on this board all open source ... some with skins and more

.... and you think you have something some on might want to steal

think again!

You should be thanking everyone!

8)


NEWHeader1.png

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