KnRd_WC
Junior Member
Florian PAQUET
Posts: 74 Reputation: 1
35 / /
Joined: Aug 2006
|
RE: Replace letters
Hi SnuZZer,
Try this :
code: function OnEvent_ChatWndSendMessage(ChatWnd,Message) {
Message = Message.replace(/A/gi,'4');
Message = Message.replace(/B/gi,'8');
// etc,...
return Message;
}
Note :
gi = case insensitive
g = case sensitive
This post was edited on 08-18-2006 at 08:45 PM by KnRd_WC.
|
|