Ilikepie1995
06-15-2007, 02:44 PM
Here is a script that i started making, it supposed to choose option 'Cut down tree' but all it does is right click's the tree then chooses 'Cancel'
program PieShafter;
{.include SRL/SRL.Scar}
{.include SRL/SRL/skill/WoodCutting.scar}
Procedure CutTreeAndShaft;
begin
repeat
if FindColor(x,y,2252880,0,0,500,500)then
Mouse(x,y,3,3,false);
Wait(2000);
ChooseOption(x,y,'Chop down tree');
until(false);
end;
begin
SetupSRL;
CutTreeAndShaft;
end.
Help me someone?Lol iam a beginner scripter so sorry :redface: ...
program PieShafter;
{.include SRL/SRL.Scar}
{.include SRL/SRL/skill/WoodCutting.scar}
Procedure CutTreeAndShaft;
begin
repeat
if FindColor(x,y,2252880,0,0,500,500)then
Mouse(x,y,3,3,false);
Wait(2000);
ChooseOption(x,y,'Chop down tree');
until(false);
end;
begin
SetupSRL;
CutTreeAndShaft;
end.
Help me someone?Lol iam a beginner scripter so sorry :redface: ...