Ok, my queston is more complicated then it looks, pretty much I have any auto fighter that relies on finding the npc with 1 color. But, this also has the chance to fail so, How would I make it so if the bot finds 2 of the 3 colors within like a 50x40 area then it clicks in that area?
Example, click in the red box searching for the colors that are the red dots:
http://i45.tinypic.com/263xboj.jpg

