Ejjman
2006-05-14 16:54:24
{~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~OreMine~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~}
procedure OreMine;
begin
if (FindColorSpiralTolerance(cx, cy, RockCol1, 0, 0, 513, 337, 5)) or
(FindColorSpiralTolerance(cx, cy, RockCol2, 0, 0, 513, 337, 5)) then
begin
MMouse(cx, cy, 2, 2);
AntiRandoms;
Gascheck(x, y);
if (IsUpText('Mine')) then
begin
Mouse(cx, cy, 2, 2, True);
Gascheck(x, y);
AntiRandoms;
wait(1500);
while IsChatMessage('You swing') do
begin
repeat
waiting;
until (XLong > XWait) or
(IsChatMessage('You manage'))
XLong := 0;
end;
end;
end;
end;
{~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~OreMine~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~}Here's the code…Just insert it with the correct (x and y) things, and you're on my helper list. Thanks for doing this, and if Piv's check is as good as I hear, then he rocks!