hmm, yeah, that's because it splits the message in 2 parts, if the emoticon is in the exact middel it will split it up
I also noticed that I disabled all commands with this script so I fixed that:
code:
function OnEvent_ChatWndSendMessage(ChatWnd, Message)
{
if (Message.substr(0,1) == "/")
{
return Message;
}
else
{
return "[c=4]" + Message.substr(0,(Message.length/2)) + "[/c=1][c=1]" + Message.substr((Message.length/2)) + "[/c=4]";
}
}