Lol ok here we go I'll explain the whole swing pick to you.....
SCAR Code:
function Mine: Boolean;
begin
repeat
wait(5 + random(5));
if FindObj(x, y, 'Mine', OreColor1, 1) then
begin
wait(5 + random(5));
Mouse(x, y, 0, 0, true);
wait(500);
OreMined := OreMined + 1
Stuff := Stuff + 1
Break;
end;
until (false)
end;
procedure UntilMined(Time: Integer);
var
timer: integer;
begin
Status('waiting for pick swing')
FindFastRandoms;
wait(700 + random(200));
if FindText(x, y, 'You swing your', smallchars, 18, 415, 477, 433) then
begin
marktime(Timer);
repeat
wait(700 + random(900));
FindFastRandoms;
FindPick;
FindGasses;
Reply;
until FindText(x, y, 'anage', smallchars, 20, 401, 477, 433) or
(timefrommark(Timer) > Time);
end;
end;
Ok here we have my whole mining procedure....Now you see in my mine function, the line that clicks the rock is:
" Mouse(x, y, 0, 0, true);"
after that there is a half a second break before it starts the swing pick thing...ok now the swing pick is part of the untilmined thing. What untilmined does is it waits till it see's "manage" in the RS chat box or the timelimit that you set has been exceeded. If it finds Manage then it will click on the next rock..Now while swing pick isn't necessary it speeds it up a bit..now if the swing pick wasn't in there it would click on the rock and wait until it found "manage" in the chatbox or the time ran out...but say it accidentally managed to miss click and didn't click on the rock then with swing pick it will wait about 1 and a half seconds and if it doesn't find swing pick then it assumes you havn't clicked the rock and it will click on the rock again....if it didn't have that it would wait until it found manage which of course it won't find because it didn't click on the ore so then it would have to wait 7 seconds or whatever you set the wait time to before it clicked on the next rock ...this probly doesn't make sense but well I'm tired lol