For those using the varrock achievement body you'll want to do something similar to what I did here. I wasn't sure how else to do this since "Plus One" is an integer. Maybe set a range, but I'm not sure how to code it.
Anywho:
Code:
Procedure MineIron;
Var
x, y, OreCounter, PlusOne, PlusTwo : Integer; //
begin
if not LoggedIn then LoginPlayer;
if (not LoggedIn) or (InvFull) then Exit;
FindNormalRandoms;
If FindObjCustom(x, y, ['ne Ir'], [3557756, 3491704, 2832994], 3) Then
Begin
ClickMouse2(False);
WaitOption('ne I', 500);
Flag;
MarkTime(OreCounter);
PlusOne:= InvCount + 1
PlusTwo:= InvCount + 2
Repeat
wait(100);
Until(InvCount=PlusOne) Or (InvCount=PlusTwo) Or (TimeFromMark(OreCounter) > 5000);
If you do it without adding the "PlusTwo" variable it will always wait over 5 seconds before continuing everytime you mine 2 ores.