i made an iron autominer ( or any other rocks )
but with iron when the color is setted .. it sometimes click on dwarves .. i need a command which detect the text " mine rock " but i think it's good for a first script
but with iron when the color is setted .. it sometimes click on dwarves .. i need a command which detect the text " mine rock " but i think it's good for a first script
program IronMiner;
var
x,y: Integer;
const
Rock= 2437457; // color of the rock
begin
repeat
if(FindColor(x,y,Rock,175,75,390,260)) then
begin
MoveMouse(x,y);
Wait(100+random(200));
ClickMouse(x,y,True);
Wait(2500+random(1000));
end else;
Wait(2000+random(500));
until(false)
end.


