Catnipple
2012-06-13 05:47:11
I'm new to Pascal and everything, but I'm interested in learning so I've been trying to make a simple woodcutting script that burns the logs afterwards, and I'm stuck at the point of chopping the tree..
^and when I try to compile that, I keep getting this error
procedure ChopTree;
var x, y: integer;
begin
repeat
//function FindObj(var cx, cy: Integer; Text: string; Color, Tol: Integer): Boolean;
if FindObj(x, y, 'hop', 3490885, 21) then
Mouse(x, y, 3, 3, false);
ChooseOptions('hop');
repeat
Wait(1200+random(350));
Until not IsUpText('ow') or (InvFull);
until(InvFull);
end; ^and when I try to compile that, I keep getting this error
[Error] (33:8): Unknown identifier 'ChooseOptions' at line 32So if someone could just kind of point me in the right direction to help me, it'd be greatly appreciated! Thanks in advance.