This Is My Very First TUT So Please Rate It
Hi i started scripted not that long ago and im not that good but i thought i would give a helping hand to the people who don't know how to do certain things with SCAR.
If you are confused by any of this dont worry im putting a simple quide at the end.
Step1. (Make the commands)
SCAR Code:
Program New;
Var
Const
Color1=000000;
Procedure Color_click;
Begin
If(Findcolor(x, y, Color1, 1, 1, 600, 600))then
mmouse(x, y, 2, 2);
mouse(x, y, 1, 1, true);
End.
Now If you dont know what these commands are i will tell you
SCAR Code:
if(findcolor(x, y, Color1, 1, 1, 600, 600))
This basicly means if SCAR finds Color1 it will remember where it is (x, y,) and it will move to it with a tolerance of 1 pixel.
Basicly means move the mouse to the (x, y,) it remembered at the start but to a tolerance of 2 pixels.
Means left click the (x, y,) at the same spot its remembered it at.
Now We need to find the color we want to click and select it with the SCAR color picker (the little ink thing at the top of scar).
Once you have picked the color copy and the paste the color here
SCAR Code:
Const
Color1=Paste it here
Now that will simply find the color you picked as Color1 move the mouse to it and click on it. Thats all that this script will do.
####QUICK GUIDE####
mmouse(x, y, 1, 1,)
This Command Moves The Mouse To The X, Y, Coordinites
mouse(x, y, 1, 1, true)
This Command Clicks The Mouse At The X, Y, Coordinites
If(FindColor(x, y, Color1, 1, 1, 600, 600))
This Command Finds The Color You Picked And "Remembers" Its Coordinites.