Is there a way to have a script run whenever the PC goes to sleep? I looked at the event handling functions listed on the OBSE page, and there don't seem to be any for sleeping.
I'd prefer not to have my script running every single frame or every millisecond or something. I'd like it if it only ran when the PC went to sleep.
Any suggestions?