• Log in or sign up for an account here: https://www.sythe.org/login

-- First Autominer -- By BzzBzz --

bzzbzz

Apprentice
Joined
Feb 26, 2007
Sythe Gold
0
Messages
852
Location
Sythe
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 :)

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.
 
I have tried it but when i start it, it doesnt do anything,

User specified a new RS window
Successfully compiled

nothing happens
 
I'm happy you are trying to start scripting. Try using "ActivateClient" to activate the RS Window. Also, I suggest using the SRL to improve your script. Clickmouse is also very detectable.
 
Runescape Gamblingrunescape gambling
Back
Top