timmyboy
2006-10-23 09:06:41
Well, i found this lying around, and decided to post it. Yup, my like, 4th thread. This checks to see if you have gained a level, and if you did, it clicks to continue and returns true. It hecks it in the chat window, not on the stats page.
{*******************************************************************************
function GainLvl : Boolean;
by:Timmyboy1234
Description: Checks to see if you've gained a lvl, and if you did, it clicks to continue and returns true.
*******************************************************************************}
function GainLvl: Boolean;
begin
if(FindColorTolerance(x,y,16711680,15,349,466,431,3))then
begin
Mouse(x,y,1,1,true);
wait(500);
if(FindColorTolerance(x,y,16711680,15,349,466,431,3))then
begin
Mouse(x,y,1,1,true);
wait(500);
end;
Result:=True;
end;
end;