Add a structured event log message for game chats
Currently chat messages are logged to the event log as a string. That makes implementing chat bots for xonotic rather hard as you need to parse those chat strings to identify the message sender. And as Xonotic allows different players to use the same nickname in some cases identifying the sender is completely impossible.
Would be cool if there was a structured event log message like
:chat:<player_slot_id>:message_text
and
:team_chat:<team_id>:<player_slot_id>:message_text
PS: example use case for a xonotic chat bot is my bot for cointossing and dropping/picking maps during tournaments.