SCAR Code:
program CamalotWcer;
{.include SRL\SRL.scar}
Procedure Setup; // 0
Begin
HighestAngle;
MakeCompass('N');
Setrun(True);
end;
Procedure B4nk; // 1
Var Foundbank, x, y, ax, ay: integer;
Begin
Foundbank := 0;
Repeat
if FindObjCustom(ax, ay, 'ank', 803673, 7) then
GetMousepos(x, y);
Mouse(x, y, 1, 1, false);
Chooseoption('kly');
Foundbank := 1;
writeln('FoundBank');
Until Foundtree := 1;
end;
begin
SetupSrl;
Activateclient;
Setup;
B4nk;
end.
I get this error : Line 18: [Error] (16008:51): Type mismatch in script
Im going to bed now and i hope someone can figure this out..
If you wanna help more Pm your msn and i will be forever thankful!
Edit : So tired i forgot to say what the wrong was :/...