Hi, im new to scripting just started 3 days ago, and this is the chop procedure for my newest script. i tried to make a simple ent finder that just looks for the yellow text in the top left corner, but when i run it, it starts to run normally for like 5 seconds but then the mouse goes
crazy! whats wrong?
procedure Chop;
begin
MakeCompass('N');
Highestangle;
repeat
if(findcolortolerance(x,y,Coloroftree,msx1,msy1,ms x2,msy2,5))then
wait(100+ random(50));
MMouse(x,y,0,0);
wait(10);
if (IsUpText('hop')) or
(IsUpText('h op')) or
(IsUpText('ho p')) then
Mouse(x,y,0,0,true);
wait(200 + random(100));
//THIS IS THE ENT FINDING//
if(findcolortolerance(x,y,2091236,msx1,msy1,msx2,m sy2,5))then
RunAwayDirection('N');
wait(10000+ random(2000));
Runback;
FindHead;
if(FindFight)then
Begin
RunAwayDirection('N');
Flag;
wait(10000+random(5000));
RunBack;
Flag;
//THIS IS THE END OF ENTFINDING//
end;
DoAntiRandoms;
Wait(cutlevl + (300));
wait(100+random(50));
Logss:=Logss+1;
until(InvFull);
end;



Reply With Quote




