I want it so that if someone sends me a message, then it will look like this:
11/11/11 1:14:50 Person: Hi
(Normalized Above):
Person: Hi
So basically I want the date next to the person's name when they talk.
This is what I've got:
package ModdedChat
{
function newChatHud_addLine(%text)
{
parent::newChatHud_addLine(%text);
%replace = strReplace(%text,%text,"");
if(%replace !$= %text)
{
newChatSO.addLine("\c4"@getDateTime()@" \c1"@%text);
}
}
};
activatePackage("ModdedChat");
What is happening is double chat:
(my chat)
Kid: Hi
11/11/11 1/10/1 Kid: Hi
You may also notice that I am new to using the strReplace function, lol.
Thank you, and please help me out here.