You can alias the /quit command in an alias script to perform your own quit msg.