ok, how wud i add the position llock script with the fight?
((fight)))
const
GuardColor = 7159865;
Function FindGuard: Boolean;
var
x,y: integer;
begin
if findcolortolerance(x,y,GuardColor,0,0,511,328,10) then
begin
result := true;
mouse(x,y,5,5,true);
wait(100 + random(200));
writeln('Found monster');
wait(300 + random(300));
end;
end;
begin
setupsrl;
mousespeed := 13;
repeat
FindGuard;
until(False);
end.
(((position lock))))
Program WhyTheFDoYouNeedThis;
Const
CoordX = ;
CoordY = ;
Begin
Repeat
ClickMouse(CoordX, CoordY, True);
Wait(500);
Until(IsFKeyDown(3));
End.


Reply With Quote





