I'd like a patch that sets your instant messaging status to Available/Offline when the Mute button is switched. It doesn't have to keep up with manual changes made to the status, just turn it to offline when mute goes on, and to available when mute goes off. Is that possible?

I'm using the new facebook chat patch, and I'm looking for a way to automatically handle status without having to turn it on/off manually everyday. I mute my phone at night, so this would solve that problem.