Okay, I am making a beta version of a firemaker for my willow chopper. And I need help with something.
SCAR Code:
program New;
{.include srl/srl.scar}
procedure Burn;
var
Item,Item2 : TPoint;
i,z: integer;
begin
for i := 1 to 28 do
begin
Z := Z+1;
item[I]:= itemCoords(1); //Makes all of OurVar's = there ItemCoords number
Mouse(Item[i].x, Item[i].y,1,1,true);
wait(500+random(600))
If ExistsItem(Z) then
begin
Item2[Z] := ItemCoords(z);
Mouse(Item2[z].x, Item[z].y,1,1,true)
end;
end;
end;
begin
SetupSRL;
Burn;
end.
I use that and i get this.
SCAR Code:
Failed when compiling
Line 12: [Error] (12315:5): Semicolon (';') expected in script
Any ideas?