Sign in to follow this  
Followers 0
mpcluever

Wait for event?

5 posts in this topic

A long time ago I seem to remember reading about a function that will fire no matter where the script is in execution. For example, halfway through a script, someone IMs me and throws off the script. I'd like to be able to constantly check if a given parameter exists and react to it. Any help would be greatly appreciated.

Share this post


Link to post
Share on other sites



Sorry. What I need doesn't involve a timer. I need something that will continuously be checking for a certain event to happen throughout running the script without stopping and waiting for it to happen.

Share this post


Link to post
Share on other sites

use this:

While 1

;- If event == condition Then desired func

WEnd

Func desired()

;

EndFunc


Hi ;)

Share this post


Link to post
Share on other sites

read the help file or give more clue please... so we can help u :D

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