NiCbaZ
2008-08-13 00:26:51
Function FindObjREF(TileX,TileY: integer; chooseop: string): boolean;
var
XYZ: TPoint;
Tiles: TpointArray;
begin
Tiles:= [Point(TileX,TileY)];
if (DistanceFrom(Tiles[0]) > 5) then
begin
if not TileOnMM(Tiles[0]) then
begin
Writeln('You are Either Very Far Away From your Obj or in a Random');
Result := False;
Exit;
end;
WalkToTile(Tiles[0], 0, 0);
FFlag(1);
Wait(100);
end;
XYZ:= TileToMS(Tiles[0], 16);
Mouse(XYZ.X, XYZ.Y, 4, 4, False);
Wait(80 + Random(120));
Result := ChooseOption(chooseop);
end;use GetMyPos , or Sumil's path generator to the the Tiles of the the object you finding, put them in, and put in what option. And theres a good finder for things like banks, spinning wheels, wells ect…. i just made it ib my script should be usefull