Tell me if this helps:
You have to tell it the places to look:
msx1, msy1, msx2, msy2, (This would look in the Main Screen for what you are looking for.)
mmx1, mmy1, mmx2, mmy2, (This would look in the Mini Map for what you are looking for.)
mix1, miy1, mix2, miy2, (This would look in the Main Inventory for what you are looking for.)
Example:
SCAR Code:
FindColorTolerance(x, y, Your Color, mmx1, mmy1, mmx2, mmy2, 10);
That would find the color in the MiniMap.
10 is the tolerance, if you still have trouble finding the color then make the tolerance higher.
After you have found the color you need to have it click on it. I think you know how to do that, But if not..
2, 2 is the amount of random pixles it can move away from the color.
If you want it to click on it exactly, make it (0, 0) but i would just make it (1, 1).
For more info see Getting started to learn to script
Hope this helps. 
Edit: This is probably not what you are looking for lol (i'm still a noob XD)