program CowKiller;
{.include srl/srl.scar}
var
x,y: Integer;
const
CowColor1 = 11909822;
CowColor2 = 6124171;
procedure FindCow;
begin
FindObjCustom(x, y, ['att', 'ack'], [CowColor1, CowColor2], 5);
begin
Mouse(x,y,5,5,False);
ChooseOption('Attack');
wait(5000);
end;
begin
ActivateClient;
SetupSRL;
FindCow;
end;
end;
Line 4: [Error] (16112:1): Unexpected end of file in script
please take a look at it


Reply With Quote






