Hello!
I have this mod called 'Reconnect.cs' (this mod works like this -> when I use the command '/rr' in chat, it reconnects me to the server). I want to add to this mod, or create another one separately, the ability that when the message ''You are banned from this server'' or ''Server closed the connection.'' is detected in the chat, it automatically reconnects me to the server (i.e., it automatically uses the /rr command). In addition to this, I want the original mod to still work when I manually use the command '/rr' in chat.
The mod can be found below.
Thanks in advance.
I have this mod called 'Reconnect.cs' (this mod works like this -> when I use the command '/rr' in chat, it reconnects me to the server). I want to add to this mod, or create another one separately, the ability that when the message ''You are banned from this server'' or ''Server closed the connection.'' is detected in the chat, it automatically reconnects me to the server (i.e., it automatically uses the /rr command). In addition to this, I want the original mod to still work when I manually use the command '/rr' in chat.
The mod can be found below.
Thanks in advance.