Sorry, I should've clarified a little more.
I'm looking for if a user types a sentence in the chat saying "Jimmy has entered the chat" or something around those lines. (the user's nick is not Jimmy) then is there a way to grab the text of "Jimmy" and only reply with "Jimmy" afterwards?