SCAR Code:
Program TreeCutter;
{.include Si.scar}
//For this to work you need to change the color to the color of the tree
//you want to cut!///////////////////
Var x,y : Integer;
Procedure CutTrees;
Begin
repeat;
Findcolor(x,y,540985,5,5,515,340)
Mouse(x,y,1,1,true)
wait(4900)
end;
begin
CutTrees
repeat CutTrees;
until(INVFULL)
Procedure dropping;
begin
logsinvo :=CountItemDtm(logdtm);
Writeln('Dropping ' + inttostr(logsinvo) + ' Logs');
DropTo(2,28);
LoadsDone := LoadsDone + 1;
TimeDropped := TimeDropped + 1;
Played;
End;
Repeat CutTrees;
until (INVFULL)
until (false)
end.
is the script and the error is this (Failed when compiling
Line 13: [Error] (3116:1): Identifier expected in script F:\Program Files\SCAR 2.03\Scripts\TreeCutter.scar) Please help me!