oh no, the idea is....
i want to find a fishing rod, lol. and if the fishing rod is leaning right i must press left, if the fishing rod is leaning left i must press right. now, the idea is i get 3 pixel positions from my screen ( rod left, rod right, rod central) each of these spots has a possibility of being 2 colours each, the rod colour, and back ground colour. i need autoit to continuosly search these 3 spots if it finds the rod colour on the left. it presses right, rod on the right presses left... you get the idea.
so from experiance with VB im guessing my code should look a little like this ,but a lot more complex
$rodcolor = FFFFFF
If <pixel position(right side)> = $rodcolor
then press and hold left
elseif <pixel position(left side)> = $rodcolor
then press and hold right
else
do nothing
endif fish is caught
as you can see, some familiarity with the code is to be desired. but i think i got the idea? if that makes sense?
and could somebody also tell me how to put my code on inset like that please, im thinkin ive got alot of variables and pixelgetcolour problems im going to need help with.