This program has been updated. With the help of
@Xacto
I have implemented separate chats. Now when you run this program, it will try to group messages by chatId so messages from the same room will be grouped together in their own file.
This should make the results a little closer to the result the client gives you when you copy and make it easier to organize your chats if you crash or forget to save them.