So I'm lost.. Tried to make a script but it's harder than i thought. I did find this code on the forum:
Code:
SCAR Code:
function EatMeFood(DTMOfFood, HealthValue: integer): boolean;
var
x, y, x1, y1: integer;
begin
GameTab(2);
if(Damage<HealthValue-1)then
begin
GameTab(4);
if(FindDTM(DTMOfFood, x, y, MIX1, MIY1, MIX2, MIY2)then
begin
x1 := x-2;
y1 := y-2;
Mouse(x1, y1, 4, 4, True);
Result := True;
end else Writeln('No more food');
end;
end;
But it seems to be outdated/OR iam doing something. It fails to compile at the "gametab" lines, and if i remove them it fails to compile at if(Damage<HealthValue-1)then instead.
And last question. What is SCAR? Thanks!