Hi DebugErr, good to see you here, PX needs some active developers :p
So I read in your intrduction post that you're a software developer, me, I'm a webdeveloper, writing PHP is a big part of my job. But I don't know any C, C++, C#,.... so EAX is a bit of a stretch for me. I do understand basic principles of programming obviously from what I know in PHP, and I've learned a thing or two from studying existing PX libs' code.
In any event, I'm gonna see if I can figure out how to convert your suggestion into a EAX script