Take out SMART stuff, drag the crosshairs over your runescape browser.
And here.
Simba Code:
Function Woodcutter;
Var
x, y:Integer;
Begin
//FindObjCustom(x, y, ['att', 'ack'], [123456, 345678], 5;
If FindObjCustom(x, y, ['Chop', 'down', 'p d'], [725522, 988951, 2043700, 1384222], 30) Then
WriteLn('Found Tree');
End;
You have it set to a function, so you need to assign it a type of variable.
For you, you want it like this.
Simba Code:
Procedure Woodcutter;
Var
x, y:Integer;
Begin
//FindObjCustom(x, y, ['att', 'ack'], [123456, 345678], 5;
If FindObjCustom(x, y, ['Chop', 'down', 'p d'], [725522, 988951, 2043700, 1384222], 30) Then
WriteLn('Found Tree');
End;
That way, as a procedure, you don't have to set it to something like: Function Woodcutter: Boolean;.