What the true neutral does is seek to achieve or maintain balance. The natural state of the wilderness is in natural balance, and countering whatever would disrupt that balance is his task. Yet promoting the balance can also mean refraining from countering good, evil, chaotic, and lawful influences depending upon the balance of power between those poles. So if a woodsman is harvesting the woodlands selectively on site, that activity is good for the forest and intervention is not desirable. But if the woodsman leaves his NPCs will start clear-cutting, hoping to please the woodsman through productivity. Clear-cutting is counter-productive to the forest so the untended loggers might be disturbed or run off. Yet if the woodsman's camp is aligned lawful good and chaotic evil is running rampant then the concern for a balance of power between the alignments takes precidence and the woodsman's unattended camp would be allowed to continue unhindered.
How this could be programmed should be fairly simple to describe at a high level where the relative power of the alignments is known (to the game program).
Where is more detail needed for this model to be plain?