Don't have ent detection yet? I have detection and prevention already inside my scripts, let me pull out a snippet for you guys.
Basic Function:
Simba Code:
Procedure FindEnt;
begin
if (not (IsUpText('hop'))) then
begin
writeln ('Error: Cursor must be on the tree!');
Exit;
end;
if (CountColorTolerance(65535,82, 5, 110, 23, 55) > 20) then
begin
Alert ('An ent has been detected, getting off...');
Mmouse(643, 84, 3, 3);
Clickmouse2(mouse_left);
WriteLn ('Waiting a moment for the ent to go away...');
wait(randomrange(20000,25000));
end;
end;
Implementation:
Simba Code:
if (FindObjCustom (x, y, ['hop', 'own'], [3363667, 1865577, 1730392], 3)) then
begin
MMouse(x, y, 3, 3);
end;
FindEnt;
Simply using a color finder works because the uptext is blue normally and yellow when it is an ent. Simply check for the correct coloring before sending out the final click.
PS: I totally want credit for this.