Dangerous Garden Tools
09-06-2007, 01:59 AM
The Procedure im using for my yew cutter to cut the yew is....
program New;
{.include srl/srl.scar}
var
x,y : integer;
MyText: Array[0..2] of String;
MyInteger: Array[0..3] of Integer;
Procedure CutTheYew;
begin
MyText[0] := 'Chop'; //texts
MyText[1] := 'Yew';
MyText[2] := 'ew';
MyInteger[0] := 3960935; //colors
MyInteger[1] := 4096373;
MyInteger[2] := 2061927;
MyInteger[3] := 2316108;
If(FindObjCustom(x,y, MyText, MyInteger, 5))then
getmousepos(x,y);
mouse(x,y,6,7,true);
Writeln('Found The Yew :)')
end;
begin
setupsrl;
CutTheYew;
end.
so my first question is how would i get it to cut until the inventory is full?
would i just put it in the main loop and put repeat until(invfull) ???
other question is, how can i find the bank symbol if people are standing on it?:duh:
program New;
{.include srl/srl.scar}
var
x,y : integer;
MyText: Array[0..2] of String;
MyInteger: Array[0..3] of Integer;
Procedure CutTheYew;
begin
MyText[0] := 'Chop'; //texts
MyText[1] := 'Yew';
MyText[2] := 'ew';
MyInteger[0] := 3960935; //colors
MyInteger[1] := 4096373;
MyInteger[2] := 2061927;
MyInteger[3] := 2316108;
If(FindObjCustom(x,y, MyText, MyInteger, 5))then
getmousepos(x,y);
mouse(x,y,6,7,true);
Writeln('Found The Yew :)')
end;
begin
setupsrl;
CutTheYew;
end.
so my first question is how would i get it to cut until the inventory is full?
would i just put it in the main loop and put repeat until(invfull) ???
other question is, how can i find the bank symbol if people are standing on it?:duh: