Also, this:
Code:
SendChatMessage("in the raid", "SAY")
will send your message to all players near you, so they can see it. You probably just want to only see the message for yourself, so you should change that to:
Code:
print("in the raid")
which will show the message only to you.