Leave spawn if lured creatures?
So I am currently botting Demons yalahar, and people love to lure here. Is it possible to create a script that checks for monsters (demons specifically) on the screen, and if more then 3 just walk to the stair?
Thinking something like this but I am not sure it would work with the refiller etc as well (as I am rushing past several monsters)
Code:
if Self.GetTargets(distance) > 3 Walker.Goto(LeaveCave)
Psudo something like this would be exactly what I am looking for:
Code:
if creatures.around(demon) > 3 LeaveCave
stopWalker
stopTargetting
Logout
Where LeaveCave is the label for the stairs waypoints.
Regards,
Bawtern