This is just a simple ChatGPT script I got together as someone mentioned accidentally putting messages in the wrong chat and that a script like this would be handy to prevent it.
Install a userscript manager like Tampermonkey and then go to the link below and click install the two times you are asked, and then you can alter the colors inside the script.
To change the colors, simply enter them into the '', '' for each function call. If you only want to change one color type, you can leave the other empty and it will not alter anything. If you only want to change the colors of a certain chat, you can either leave them running as they are and nothing will be changed, or just put // in front of the unwanted chat/s and they will be changed to comments and not run through the function.
The example above will only change the trade chat text to purple and the background color to light grey (#bababa). You can use whatever color format you like, that is just to show that you can customize the colors more if you want.
This is just a simple ChatGPT script I got together as someone mentioned accidentally putting messages in the wrong chat and that a script like this would be handy to prevent it.
Install a userscript manager like Tampermonkey and then go to the link below and click install the two times you are asked, and then you can alter the colors inside the script.
To change the colors, simply enter them into the '', '' for each function call. If you only want to change one color type, you can leave the other empty and it will not alter anything. If you only want to change the colors of a certain chat, you can either leave them running as they are and nothing will be changed, or just put // in front of the unwanted chat/s and they will be changed to comments and not run through the function.
// chatColors('Cartel', 'text-color', 'background-color');
// chatColors('Global', '', '');
chatColors('Trade', 'purple', '#bababa');
The example above will only change the trade chat text to purple and the background color to light grey (#bababa). You can use whatever color format you like, that is just to show that you can customize the colors more if you want.
https://greasyfork.org/en/scripts/516069-cartel-empire-custom-chat-colors