What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » question - manipulate text on sender side

question - manipulate text on sender side
Author: Message:
markee
Veteran Member
*****

Avatar

Posts: 1622
Reputation: 50
36 / Male / Flag
Joined: Jan 2006
RE: question - manipulate text on sender side
Well then limit the origin from which the message comes from.  It should be your display name.  Try something like this.

code:
function OnEvent_ChatWndReceiveMessage(ChatWnd,Origin,Message,MessageKind){
    if(MessageKind === 1 && Origin === Messenger.MyName){
        return Message.replace(/\b([a-z])([a-z]*)([a-z])\b/gi,"$3$2$1");//Switch the first and last letter of each word
    }
}

This post was edited on 03-30-2008 at 12:04 PM by markee.
[Image: markee.png]
03-30-2008 12:03 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
question - manipulate text on sender side - by Hen on 03-30-2008 at 11:00 AM
RE: question - manipulate text on sender side - by markee on 03-30-2008 at 11:11 AM
RE: question - manipulate text on sender side - by Hen on 03-30-2008 at 11:45 AM
RE: question - manipulate text on sender side - by markee on 03-30-2008 at 12:03 PM
RE: question - manipulate text on sender side - by Hen on 03-30-2008 at 12:12 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