kevr0 0 Posted April 17, 2010 I'm trying to figure out how to do this properly. Basically, I have a script to perform a task after executing a pixel search; this repeats over and over. After the third time completing the task I want it to send("dance") and then restart the pixel search process. Share this post Link to post Share on other sites
Makaule 0 Posted April 17, 2010 You could use something like this: Global $var = 0 While 1 [Your actions] If [something] Then $var += 1 If $var = 3 Then $var = 0 Send("Dance") EndIf WEnd Share this post Link to post Share on other sites
kevr0 0 Posted April 20, 2010 Thanks! I didn't realize how simple but complex autoit can be. Share this post Link to post Share on other sites