Ok, I added in a wait time setting so you can set a rule to define how many ticks you want it to wait before OOC Regen starts working after the character leaves combat. So, if you wanted it to wait 30 seconds before starting OOC Regen, you should be able to set this to 4. The first 6 seconds is automatically added by the timer between ticks after you leave combat. I think it will work properly.
Here is the edited post with the current code:
http://www.eqemulator.net/forums/sho...98&postcount=8
Still just need the in combat check for clients to finalize this code.