What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Request]Letter change

[Request]Letter change
Author: Message:
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: [Request]Letter change
code:
function OnEvent_ChatWndSendMessage(cw, m) {
  return  m.replace(/a/g,"á").replace(/e/g,"é");
}


Yours won't work if there is more than one instance of "a" or "e"...
A RegExp will do tthe trick and I've shortened the code quite a bit too

This post was edited on 07-18-2009 at 12:04 PM by Spunky.
<Eljay> "Problems encountered: shit blew up" :zippy:
07-18-2009 12:04 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Request]Letter change - by akyyy on 07-16-2009 at 09:02 PM
RE: [Request]Letter change - by MrT on 07-18-2009 at 11:04 AM
RE: [Request]Letter change - by Spunky on 07-18-2009 at 12:04 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On