ok....
const
[name of your color]=[color identification];
begin
FindColor(x,y,[name of color, or color identification#],[the parameters of the screen that the color is in]);
clickmouse(x,y,true);
end.
--------I no this may be confusing, because of all of the color identification and stuff, so heres an example with everything filled out-------------------
program example;