Ok now that u think im some noob leacher and have ur attention, I've been making a powerminer.
Problem is, when it mines, it keeps clicking on the rock like an impatient 9 year old would, as in it clicks on one rock, 5 times, then goes to the next one, mines for like one second, then when the previous ore respawns it goes back to that one, and spam clicks it.
I'd like to know how to fix it, not just why it happens 
I also want to know how Wizzup's power mine script knows exactly when the ore has been mined.
This is the mining part of the script:
SCAR Code:
Function Mine : Boolean;
var
timer: integer;
Begin
Repeat
If (FindObj(x,y, 'Mine', EssColor, 5)) then
Begin
MMouse(x,y,1,1)
If IsUpText('ine') Then
Mouse(x,y,1, 1, true)
if FindText(x, y, 'wing you', smallchars, 21, 390, 199, 430) then
Begin
marktime(Timer);
repeat
if not (LoggedIn) then Exit;
wait(700 + random(900));
FindFastRandoms;
AntiRandoms;
if (GasCheck(Ax, Ay)) then
FindGasses;
until FindText(x, y, 'anage', smallchars, 20, 401, 477, 433) or (timefrommark(Timer) > WaitTime);
Wait(1000+random(1000));
Mined := Mined + 1
End;
End;
Until(InvFull)
End;
I borrowed part of a procedure from RKROXPUNK's V E M script.
and yes i know i made a topic like this earlier, no one would tell me HOW to fix it so i deleted it TWICE.