SCAR Code:
procedure WalkToY;
begin
if(not(LoggedIn))then Exit;
if (PowerChop = True) then Exit;
if (WhereToChop = 'DW') then Exit;
if (invfull) then Exit;
if (WhereToChop = 'DY') then
begin
MakeCompass('w');
SetRun(True);
Wait(1000+Random(1000));
begin
FindSymbol(x, y, 'water');
Mouse(x, y, 2, 2, True);
if not FindSymbol(x, y, 'water')then
begin
LoadBitmaps;
AutoColorThis(DG, 50, MMX1, MMY1, MMX2, MMY2);
WriteLn('Couldnt Use Radial, Using Failsafe #1');
end else
begin
Mouse(635, 20, 3, 3, True);
WriteLn('Couldnt Use FailSafe #1, Using FailSafe #2');
end;
end;
end;
begin
RadialWalk(FindWaterColor, 1, 30, 58, -1, -1);
if not RadialWalk(FindWaterColor, 1, 30, 58, -1, -1)then
begin
LoadBitmaps;
AutoColorThis(DT, 50, MMX1, MMY1, MMX2, MMY2);
WriteLn('Couldnt Use Radial, Using Failsafe #1');
end else
begin
Mouse(644, 24, 3, 3, True);
WriteLn('Couldnt Use FailSafe #1, Using FailSafe #2');
end;
end;
begin
RadialWalk(FindRockColor, -340, 50, 60, -1, -1);
if not RadialWalk(FindRockColor, -340, 50, 60, -1, -1)then
begin
LoadBitmaps;
AutoColorThis(DP, 50, MMX1, MMY1, MMX2, MMY2);
WriteLn('Couldnt Use Radial, Using Failsafe #1');
end else
begin
Mouse(757, 53, 3, 3, True);
WriteLn('Couldnt Use FailSafe #1, Using FailSafe #2');
end;
end;
begin
Mouse(634, 51, 3, 3, True);
Wait(2000+Random(3000));
end;
end;