Huhu_Manix
Full Member
Upload me again... *salivate*
Posts: 106
– / / –
Joined: Jul 2006
|
RE: Is there a way to...
code: function OnEvent_ChatWndSendMessage(ChatWnd, Message){
// Add space before and after the message ( if the message have only 1 word )
Message = " "+Message+" ";
// replace " k " by " ok "
while(Message.indexOf(" k "))Message=Message.replace(" k ", " ok ");
// Remove spaces
return Message.substring(1, Message.length-1);
}
This post was edited on 08-15-2006 at 07:47 PM by Huhu_Manix.
|
|