Nindustries
2009-02-24 18:45:22
It doesn't seems to work ..
I use this code but still it keeps clicking the chickens!
I use this code but still it keeps clicking the chickens!
Function SearchAndDestroy : Boolean ;
var
NPC: TNPC;
P: TPoint;
begin
Result := False ;
IF NOT(LoggedIn) THEN Exit;
IF (Myself.InFight = True) THEN Exit;
Repeat
ClickNPC('Chicken','Attack',False)
Until (MySelf.InFight = True) OR ( GetChatBoxLine(8) ='I can''t reach that!');
End