KeepBotting
2012-06-17 16:02:30
It doesn't work. Doesn't do anything.
procedure MineRock1; //Credits to Siel of Villavu for this.
var x, y, PlusOne, RockCounter: integer;
begin
if InvFull then
WriteLn('Status: Our inventory is full! No need to mine ore #1!');
exit;
MakeCompass('N');
SetAngle(SRL_ANGLE_HIGH);
repeat
FindNormalRandoms;
PlusOne:= InvCount + 1
WriteLn('Status: Finding a rock to mine.');
if FindObj(x, y, 'ocks', 6517094, 10) then //This finds the object, records the X and Y values, and tells the script to find the option "Rocks".
WriteLn('Status: Mining rock.');
Mouse(x, y, 0, 0, mouse_Right);
ChooseOption('ine Adam'); //This tells the script to right-click on the object and select "Mine Adamant".
MarkTime(RockCounter);
AntiBanSm;
Wait(15000+random(5000));
FindNormalRandoms;
until (InvCount=PlusOne)
if (InvCount=PlusOne) then
WriteLn('Status: Rock has been mined. Proceeding to next rock.');
Inc(OresMined);
WriteLn('Status: We have mined 1 ore so far on this World.');
end;