Well I am basically done with my Pest Control script (which will be free), but the only issue I am having is that it will try to attack shifters until no tomorrow. This is because the myPlayer().isUnderAttack() wont work since the shifters in pest control wont be attacking you. And I cant make it so shifter.isUnderAttack() since it wont attack the shifter since other players will be attacking it. I want to be able to make it so that if I am attacking a shifter, regardless of whether I am being attacked or the shifter is being attacked by other players, the script wont try to attack another shifter since the script will recognize that shifter as a shifter that is available to attack. The script will stop attacking the shifter I'd be currently attacking and will attack another one that is closer since I have npcs.getClosest("Shifter").
Thanks!