Can We Break Certain Automated PVP AddOns?

It’s not like they do it just to spite these classes. /target works for any targetable thing in the game. Explain to me how you would code it so it only works in some circumstances but not all?