I am a very experienced perl programmer, yet I have not had the time to drudge through a lot of the UBB code. Can anyone give me any hints as to how I would go about decrementing a user's post count when one of their posts is deleted or a topic is deleted containing multiple posts from that user?

As best I can tell, the code needed would be inserted in ubb_edit_post.cgi, but I'm not sure how UBB handles storing posts and users in memory, and in what structures or under what variables they are stored.
Thanks