FindColor is a function which stores the location of the color in the two first variables [integers] in the line.
As example :
SCAR Code:
FindColor(x,y,3525929,0,0,252,591);
Here x and y are the variables [integers] where the location will be stored.
So we need to declare x and y :
3525929 is the color we're searching for.
0,0 : these are the start locations of the box we'll be searching in.
252,591 : these are the end locations of the box we'll be searching in.
like : 0,0 is the upper left corner of that box
and 252,591 is the down right corner of that box.
However, since FindColor is a boolean, we use it as failsafes and many other things.
To make it useful in a script, use :
SCAR Code:
Procedure ClickSomething;
begin
If FindColor(x,y,5258285,0,0,515,712) then
begin
ClickMouse(x,y,true);
end;
end;
Now :
It stored the location of color in x and y.
And ClickMouse(x,y,true); makes it move the mouse to the x and y location and click there.
However that method is unsafe as it moves the mouse at an incredible speed.
Not going to make a tutorial out of this post but I reccomend you to keep going !
Good luck.