ok, i have made a MarkTime at the start of a loop, and what i want it to do is when the TimeFromMark is greater than 1800000 for it to exit out of its current loop and run a new procedure.
i have tryed
SCAR Code:
Procedure StartMining;
begin
MarkTime(Timer);
repeat
FindObj(x, y, 'Rocks', 5077416, 40);
Mouse(x, y, 2, 2, True);
Wait(2500 + random(1500));
GasFound(x, y);
FightCheck;
AntiBanMining;
Wait(1500 + random(1000));
until(InvFull);
begin
GameTab(4);
Wait(250);
DropToPosition(2, 28);
FightCheck;
m:=m+27;
Report;
if(TimeFromMark(Timer) < 1800000) then
begin
Tele;
Exit;
end;
StartMining;
end;
end;
but this did not work, did i do someting wrong??
thanks for any help