Tagging game text with a type would allow the clients to filter out particular types of text if the user did not wish to see them. For example, someone might wish to filter combat text or NPC speech from their chat log so they could read a conversation.
Would probably require all calls to MsgSendUser to specify the type (TEXT_PLAYER_CHAT, TEXT_NPC_CHAT, TEXT_COMBAT etc) and some checkboxes in the client UI to toggle visibility.