Code: Select all
if NewMoveXY(2000, 2000, false, 0, true) then
begin
if (FindType($FFFF, ground) > 0) then
begin
MoverStop;
NewMoveXY(GetX(finditem), GetY(finditem), false, 1, true);
wait(100);
GoFunction;
ignore(finditem);
end;
end;