bustinthejus
03-14-2007, 04:53 AM
I want to make an autominer using antirandoms from the SRL includes, and gas detection from includes, etc. etc. Here's what I've got so far.
program New;
{.include SRL\SRL.scar}
{.include SRL\SRL\Skill\mining.scar}
Const
RockColor=2437457; //set your rock color
WaitTime=10000; //time to wait in milliseconds
begin
repeat
if(FindColor(x,y,RockColor,0,0,765,504)) then
begin
MoveMouseSmoothEx(x,y +random(0),20,40,45,25,20);
Wait(100+random(10));
ClickMouse(x,y,true);
wait(WaitTime);
end
until(false);
end.
program New;
{.include SRL\SRL.scar}
{.include SRL\SRL\Skill\mining.scar}
Const
RockColor=2437457; //set your rock color
WaitTime=10000; //time to wait in milliseconds
begin
repeat
if(FindColor(x,y,RockColor,0,0,765,504)) then
begin
MoveMouseSmoothEx(x,y +random(0),20,40,45,25,20);
Wait(100+random(10));
ClickMouse(x,y,true);
wait(WaitTime);
end
until(false);
end.