kart442 Posted October 27, 2007 Share Posted October 27, 2007 Just need to know how to get the array to function correctly. Thanks for your help CODE$color1 = _ArrayCreate (PixelGetColor($x, $y),PixelGetColor($x, $yu1),PixelGetColor($x, $yu3)) _ArrayDisplay($color1) if $color1[0] = $color[1] And $color1[2] Then MouseMove($x,$yu2) MouseMove($x,$yu3) EndIf Next Link to comment Share on other sites More sharing options...
dexxa Posted October 27, 2007 Share Posted October 27, 2007 if $color1[0] = $color[1] And $color[0] = $color1[2] Then and wuts that next doing there Link to comment Share on other sites More sharing options...
kart442 Posted October 27, 2007 Author Share Posted October 27, 2007 if $color1[0] = $color[1] And $color[0] = $color1[2] Then and wuts that next doing there There is some other code above that has the "FOR" But "if $color1[0] = $color[1] And $color[0] = $color1[2]" still didn't make the mouse move and the colors are all equal. There are no errors. Link to comment Share on other sites More sharing options...
Nevin Posted October 27, 2007 Share Posted October 27, 2007 Have you tried an _arraydisplay to make sure the correct values are in there? 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