Author Topic: How to modify how chat is displayed in other servers?  (Read 362 times)

So regular BL chat looks like this:



but I want my chat to look like this:



I'm guessing that this can also be made into a client-side mod where it changes the display of chat to looking like mine on any server I go to, would I have to use the clientCmdChatMessage(%a,%b,%c,%fmsg,%cp,%name,%cs,%msg) function? And if so, how would I add a line to the chat GUI with it, since i'm going to package it and rewrite it?

package MyPackage
{
     function clientCmdChatMessage(%client, %voice, %pitch, %line, %prefix, %name, %suffix, %message)
     {
          %line = "\c5" @ %name SPC "\c3totally did not say \c1" @ %message;
          Parent::clientCmdChatMessage(%client, %voice, %pitch, %line, %prefix, %name, %suffix, %message);
     }
};