I'm thinking that I'll just have the script jump to the paint select tool if I can't get a scriptJob to work when you sculpt something. But I'd rather have the script run with a sculpt.
Basically the script will take the verts moved and run through a function I wrote to act like the pinch and the bulge tools in mudbox. I've also made a freeze much like the freeze mask in mudbox, but as of right now, it runs through EVERY vert in the object to see if the verts were moved to move the vert back (which would be easy with paint select, but again, I'd rather the sculpt tool). This is why I'd rather make an array of all the verts in the sculpt to check it against that list rather than EVERY vert, because the script gets really slow on high poly count objects.
And no, I'm not settling with using mudbox, because another part of my script does stuff mudbox and every single other 3d aplication I've ever used, cannot do. I've mentioned this script on previous threads, that it adds geometry into the object after the sculpt moves the geometry out too far.
So if anyone knows how to do this, I would be greatly appreciative.