Not sure if you are still monitoring this martlb. I still love your script. Wanted to report a bug and a minor problem. The bug is when you reset everything to the start. The script apparently doesn't reset all of the offenses to 0, and they are being set to null. Thus, when you enter the clinic for the first time, it tells you this is your "...null time for this offense..." (or something like that), and proceeds to tell you that you will get extra punishment for that. Not exactly what one is expecting after the reset.
The minor problem is when you are in choose your own mistress mode, when you enter the punishment room, it goes through the mistress introduction twice. Not a big deal, but thought I'd let you know.