Here's the concept: A macro that will run you from point A to point B, while avoiding KoS NPCs.
Getting faction levels is easy enough. Find the NPCs within a half-circle of arbitary radius pointing towards the destination point, and iterate through their ids, checking /con and storing the results to determine if they're KoS.
The problem is, what sort of formula with define a path that threads through them? So how about defining a circle around every KoS NPC of a certain radius, then running a path defined by a tangent line to the circle, then re-facing the point you're running to.
While I think I could code something like this, the problem is that I have to deal with multiple KoS npcs, which may have overlapping aggro zones. Assuming I know the aggro radius of the NPCs, and an I know all the kos NPCs between myself and the destination point, any idea how to create a macro that will run through them?

