Jump to content

Recommended Posts

Posted

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

Posted

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.

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
×
×
  • Create New...