quote:
Originally posted by Jesus
quote:
Originally posted by alexp2_ad
quote:
Originally posted by Jesus
code:
function OnEvent_ChatWndSendMessage(ChatWnd, Message)
{
if (Message.charAt(0) != "/") Message = "[a=1]" + Message + "[/a]";
return Message
}
DON'T use it with black text for obvious reasons
Note, that will mess up all commands, sounds, etc.
you're right, corrected it now
And that won't work for //, but that's not often a problem.