massive630
Newcomer
- Joined
- Sep 27, 2007
- Sythe Gold
- 0
- Messages
- 5
I am making a guild miner/ banker, and im stuck on a problem. I dont know how to make the script wait until my char is done mining a rock, to start mining a new one. get wat im saying? right now im using timed mining, and that is ineffecient and kinda skechy looking. so is there a way that i can make scar detect when a rock has no more ore? here is my procedure.
Code:
Procedure MinetheCoal;
var MiningTime: Integer;
Begin
MarkTime(MiningTime);
repeat
if(not(LoggedIn))then
Exit;
GameTab(4);
FindColorSpiral(x, y, 2834239, 0, 0, 517, 337);
MMouse(x,y,0,0);
if(IsUpText('ine'))then
begin
GetMousePos(x,y);
Mouse(x,y,0,0,true);
Flag;
Wait(10000+random(3000));
end;
until(InvFull) or (TimeFromMark(MiningTime) > 600000+random(60000));
writeln(' Your iventroy is full, im going to empty it into your bank.');
end;


