That's why there's a chat command that disables chats. /ignore_chat, if my memory serves me well, will avoid all those headaches. To allow the chat, just write /allow_chat.
But I agree with you. I hated that when people used to spam me to resurrect them in the past (now I use that command

)