So I can put the End If in the middle of a repeat, if I add a break, correct?
So i can do:
Set variable %T5% = 1
Repeat until %T5% = 0
Set variable %T2% = 1842479
Get Pixel: Screen coords 148,444 into %T1%
If Variable %T1% <> variable %T2%
Break
End If
Mouse click pos 148,444
Repeat End
As a example, would this work? It would keep clicking on position 148, 444, until that positions pixel was no longer the pixel color 1842479?
And it would stop and not click on pos 148, 444, the moment the pixel turns into a different color?
Sorry for the double post >.<
Edit: NEVER MIND GUYS! I GOT IT WORKING PERFECTLY!!!! Thanks for all your contributions, it was all a learning experience... wait... need more help please >.< :) :)
Edit: Now as a continuation of the searching a area for a pixel, what if i wanted it to search the entire screen for a pixel color in the middle of a repeat, and then click on that pixel?
Sorry for having a TON of questions, and thanks for answering them ALL