The idea is good, but changing the syntax of the QUIT event will affect many existing scripts. I'll suggest for those who have *:QUIT: event to work normally as is till now and for those who have *:QUIT:#: to act using this idea.