I was not talking about the "Bee" or "Dirt_Eather" of either of your examples. The way you presented your code, it would be taking action without making sure the message was by "GameBot" or whatever was the name of your gamebot.

If your script replies to "has entered the battle" spoken by anyone, you could find your script is replying to someone else who is not the gamebot. So that was what my example was trying to do.