Backnor Posted March 13, 2008 Posted March 13, 2008 Messing with simple script... (I am a simple minded guy) CODEFunc GY() $Dead = PixelSearch($GY1, $GY2, $GY3, $GY4, $C2, $v) If Not @error Then $Dead = 0 If @error Then $Dead = 1 If $Dead = 1 Then Sleep Until $Dead = 0 ; <== this is the line I need help fixing EndIf EndIf EndIf EndFunc Thanks in advance guys hope I didn't mess this all up....
AlmarM Posted March 13, 2008 Posted March 13, 2008 (edited) U sould do Do Sleep(100) Until $Dead = 0 -AlmarM- Edited March 13, 2008 by AlmarM Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now