I just started learning SRL and began working a chicken killer script...anyways. I attempted to hit compile to see if I was missing anything after a couple of minutes. I and I got this error...
Failed when compiling
Line 3: [Error] (14684:1): 'BEGIN' expected in script
here is my script thus far.
SCAR Code:
{.include srl/srl.scar}
program ChickenMaster
Const
CocksComb=858751;
Healthbar=65280;
Feathers=12369093;
var
x,y: integer;
Procedure FindChicken
Begin
repeat
wait(1000)
if FindObj(x, y,'hicken',CocksComb,10) then
begin
exit;
end;
until false
end;
Begin
SetUpSRL;
Repeat
FindChicken;
Mouse(x, y, 0, 0, false);
Until false
end.
I am new to scripting and have no idea what this is all about...it seems that I have all my Begin's in there...but please...enlighten me.