A simple way, but less advanced would be to do something like:
SCAR Code:
repeat
AntiBan;
until(not LoggedIn or not IsUpText('illow'));
Of course, that's pretty basic, and if your AnitBan moves the camera angle or the mouse, it will immediately click another tree when the UpText changes.
What I do in my Woodcutters is have the script check for the tree color in a 20 x 20 pixel box around where it clicked the tree, and if the amount of colors found is less than 8, then the tree is no longer there. Here's what I use:
SCAR Code:
function Cut_TreeCutDown: Boolean;
var
TPA : TPointArray;
begin
if not LoggedIn then Exit;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.18, 0.28);
FindColorsTolerance(TPA, 4481105, TP.x - 10, TP.y - 10, TP.x + 10, TP.y + 10, 14);
if(Length(TPA) < 8)then
begin
//Writeln('Length inside box: ' + IntToStr(Length(TPA)));
Result := True;
end;
SetColorSpeed2Modifiers(0.2, 0.2);
ColorToleranceSpeed(1);
end;
Hopefully that helps you out. 
Also, good luck when you apply for members.