okay, thanks, but does it do anything else, too? because i can't see how there is an array in this part which could get a runtime error (first of all because there is no array, lol):
function FindMMArrow(var x, y: integer):Boolean;
var
c, tx, ty: integer;
begin
try
repeat
Wait(50);
c := c +1
until (c > 50) or (FindBitmapToleranceIn(TopMMArrow, tx, ty, MMX1, MMY1, MMX2, MMY2, 10)) or (not LoggedIn);
if c > 50 then
begin
c := 0;
repeat
Wait(50);
c := c +1
until (c > 50) or (FindBitmapToleranceIn(MMArrow, tx, ty, MMX1, MMY1, MMX2, MMY2, 10)) or (not LoggedIn);
if c > 50 then
Exit;
end;
Result := True;
x := tx +4;
y := ty +6;
except end;
end;
Anyon know why? (I guess I should go ask nielsie, because it is his script, but I migt incooperate it into my script if it does something useful other than that, and i only have tim right now, and seeing as he isn't online, I'= just thought I'd post it here…)