ok i know this sounds stupid but what does the script in core and skill folders do?
I found many useful functions in the scripts so can i just copy and paste them into my own script ?
I've just started to learn to script T.T
ok i know this sounds stupid but what does the script in core and skill folders do?
I found many useful functions in the scripts so can i just copy and paste them into my own script ?
I've just started to learn to script T.T
Put in:
{.include srl/srl.scar}
in your script.
Then you just have to copy the name of the function into the script and edit it so it fits your script.
what can I do if I'd like to know that my script is working after I've finished part of it?
Or I could only check it after I've finished the whole script?
I've wrote a script :
Program smelter;
{.include SRL/SRL.Scar}
var x,y: integer;
procedure banking;
begin
wait(500+random(150));
openbankfast('akb');
if(findcolortolerance(x,y,8355977,-166,-257,99,108,3))then
begin
mouse(x,y,3,3,false);
Chooseoption('All');
end;
closebank;
end;
procedure walkingtofurnace;
begin
if (findsymbol(x,y,'kebab shop'))then
begin mouse(x,y,0,0,true);
writeln('walking to furnace...');
wait(8000+random(1000));
end;
if (findsymbol(x,y,'furnace'))then
begin mouse(x,y,0,0,true);
wait(7000+random(1000));
end;
end;
begin
repeat SetupSRL;
wait(3000);
until(false);
end.
but it ended like this:
file access error
Successfully compiled (1744 ms)
Successfully executed
what is the reason??
Last edited by zealkctro; 03-25-2009 at 09:03 AM.
There are currently 1 users browsing this thread. (0 members and 1 guests)