Pixel Search HELP!!
My current script i have posted below, isn't doing what i want it to.
$start = 1
$coor = PixelSearch(415, 334, 461, 344, 0xC94336, 1, 1)
While $start = 1
Sleep(5000)
If IsArray($coor) = True Then
MouseClick("left", 520, 480, 1)
EndIf
WEnd
What i want to do is, i want this script to search if the specified color is there. If it is, then the will be mouse programmed to click on a certain coordinate. I also want this command to loop, so it will constantly check for that color, and click that certain coordinate.
Thank you in advanced.