
Originally Posted by
JMCross
Thank you all for the replies

Very Helpful!. I'll go do some studying and try it out again

I would read this tutorial ~ http://villavu.com/forum/showthread.php?t=90767
Taught me TPA's very well. Make sure you change the TPA to right click then check the uiptext, with a TPA it wont even click unless he is there, then it will be near instant
Example from my beer buying script to find the bartender
Simba Code:
Function FindBartender:Boolean;
var
tmpCTS, i, l, r, counter: integer;
BTTPA:TPointArray;
begin tmpCTS := GetToleranceSpeed;
SetColorToleranceSpeed(2);
SetToleranceSpeed2Modifiers(0.06, 0.34);
FindColorsTolerance(BTTPA, 6973285, MSX1, MSY1, MSX2, MSY2, 10);
SetColorToleranceSpeed(tmpCTS);
SetToleranceSpeed2Modifiers(0.02, 0.02);
L := High(BTTPA)
marktime(counter);
for i := 0 to L do
begin
r := random(L);
wait(randomrange(60, 200));
mmouse(BTTPA[r].x, BTTPA[r].y, 2, 2);
if waituptext('tender', 300) then
Break;
if timefrommark(counter) > 3000 then
begin
writeln('Failed to find the bartender');
end;
end;
writeln('Found the bartender');
clickmouse2(mouse_right);
WaitOption('Talk-to', 500);
MarkTime(b);
repeat
wait(50+random(5));
until((FindNPCChatText('yer', nothing)) or (TimeFromMark(b) > 2000));
end;