Im having 2 chats, one general and another that depends on the unlockled level. The chat of the level, is created in different types of sessions, therefore, other player that dont belong to the session cant see the messages. The problem that Im having is that the player that send the message in the general chat, can see it in the chat of the level, and the message sent in the chat of the level is also written in the general chat, altought it is not sent to the other players.
How could I avoid seeing the messages from one chat in the other chat? I have tried several things but i dont figure out how to do it.
The only way to do this would be to clear the chat each time you switch. In order to clear the chat, ds_list_clear the following lists: global.__chattime, global.__chattext, global.__chatcol, global.__chatsender, global.__chatsendername.