- Joined
- Mar 9, 2008
- Sythe Gold
- 0
- Messages
- 720
I KNOW EVERYONE IS PROBABLY THINKING OMFG A TUT ON Sythe AND YEA ITS A TUT ON Sythe WELL HERE IT GOES
WELL FIRST YOU HAVE TO GET THE LATES SCAR/SRL INCLUDES AFTER YOU GET THAT PROCEED WITH THIS TUT
GETTING STARTED
I know bye know your probably thinking this is going to be hard but its not really i will provide you will the basic structure of scar scripting.
so when you first open scar you should see a lil something like this
This is the basic setup of your script the first thing you will always want to do it make a program name relevant to your script so if you were making a yew cutter your script would look like this so far
as you can see what Ive done here is Ive replaced the word new on the first line with the name of the program in the program name there should be no spaces and each begging on a word should be capitalized also there will be a ";" after every end except the last.
now to begin scripting you will first need to declare the include so far your script should look like this
this will make it so you can use srl functions now to start making the mouse move this will be fun
some of the most used functions for this is the folowing
mouse(x,y,rx,ry,true(orfalse); this will move the mouse to the cord you but in x and the cord you put in y with a random for each rx and ry which will make it less detectable then it will click true=left false=right
movemouse(x,y) this will only move the mouse to the specifyed cordinates
clickmouse(true(orfalse); will click the mouse true=left false=right
ok lets say you want it to click in a certaint spot first you find this handy bugger
and drag that on the screen were you want it to click after it is done focusing find this
click that and move the mouse were you want to click then click again in the debug box it should come up with something similar to this
13160660 is the color and
(626, 161) is the cordinats so now to make the mouse move and click in that spot we will do this
this will move the mouse to that point and left click
ok ok your doing good so far
now your probably wondering how to make scar type for you well thats what im going over next
pretty much the only thing you want to use for typing is this function
tyepsend('text'); this will type whats in between the ' '
pretty simble eh that easy i dont think it needs much explanation
another usefull function is the writeln which outputs text in the debug box
to get you used to what it does let try this
put that in scar and expirment a little bit
its useful to make progress reports ect.
now on to variables these are kind of hard to explain variables are letters\words that can change
kinda hard to explain but this is all i have time for for now if youd like me to explain something ealse post here ill try my best
WELL FIRST YOU HAVE TO GET THE LATES SCAR/SRL INCLUDES AFTER YOU GET THAT PROCEED WITH THIS TUT
GETTING STARTED
I know bye know your probably thinking this is going to be hard but its not really i will provide you will the basic structure of scar scripting.
so when you first open scar you should see a lil something like this
program New;
begin
end.
This is the basic setup of your script the first thing you will always want to do it make a program name relevant to your script so if you were making a yew cutter your script would look like this so far
program YewCutter;
begin
end.
as you can see what Ive done here is Ive replaced the word new on the first line with the name of the program in the program name there should be no spaces and each begging on a word should be capitalized also there will be a ";" after every end except the last.
now to begin scripting you will first need to declare the include so far your script should look like this
program YewCutter;
{.include srl/srl.scar}
begin
end.
this will make it so you can use srl functions now to start making the mouse move this will be fun
some of the most used functions for this is the folowing
mouse(x,y,rx,ry,true(orfalse); this will move the mouse to the cord you but in x and the cord you put in y with a random for each rx and ry which will make it less detectable then it will click true=left false=right
movemouse(x,y) this will only move the mouse to the specifyed cordinates
clickmouse(true(orfalse); will click the mouse true=left false=right
ok lets say you want it to click in a certaint spot first you find this handy bugger
and drag that on the screen were you want it to click after it is done focusing find this
click that and move the mouse were you want to click then click again in the debug box it should come up with something similar to this
Color Picked: 13160660 at (626, 161)
13160660 is the color and
(626, 161) is the cordinats so now to make the mouse move and click in that spot we will do this
program YewCutter;
{.include srl/srl.scar}
begin
mouse(626,161,2,2,true);
end.
this will move the mouse to that point and left click
ok ok your doing good so far
now your probably wondering how to make scar type for you well thats what im going over next
pretty much the only thing you want to use for typing is this function
tyepsend('text'); this will type whats in between the ' '
pretty simble eh that easy i dont think it needs much explanation
another usefull function is the writeln which outputs text in the debug box
to get you used to what it does let try this
program beep;
begin
writeln('im starting to script');
end.
put that in scar and expirment a little bit
its useful to make progress reports ect.
now on to variables these are kind of hard to explain variables are letters\words that can change
kinda hard to explain but this is all i have time for for now if youd like me to explain something ealse post here ill try my best





















