Garrett19212 Posted July 9, 2005 Share Posted July 9, 2005 It calls the function microcamp, even though the pixel color in that area is not that color. Func Micro() If $micro = 1 Then PixelSearch(27, 84, 27, 84, 0xAFFF00, 10) If Not @error Then Call("MicroCamp") Endfunc Link to comment Share on other sites More sharing options...
buzz44 Posted July 9, 2005 Share Posted July 9, 2005 Try... Func Micro() If $micro = 1 Then PixelSearch(27, 84, 27, 84, 0xAFFF00, 10) If Not @error Then Call("MicroCamp") EndIf Endfunc qq Link to comment Share on other sites More sharing options...
Garrett19212 Posted July 9, 2005 Author Share Posted July 9, 2005 Thanks works. Link to comment Share on other sites More sharing options...
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