You'd have to use a game specific hook such as OnPlayerChat instead and grab it from what the game offers.