What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Help] Replacing Text Using Scripts (I think I'm dumb lol)

[Help] Replacing Text Using Scripts (I think I'm dumb lol)
Author: Message:
segosa
Community's Choice
*****


Posts: 1407
Reputation: 92
Joined: Feb 2003
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol)
Try this:

code:
function OnEvent_ChatWndSendMessage(pChatWnd, sMessage)
{
    if (!sMessage.match('www') && !sMessage.match('http') && sMessage.charAt(0) != '/')
    {
        var a = [ 'a','B','C','D','e','F','G','H','i','J','K','L','M','N','o','P','Q','R','S','T','u','V','W','X','Y','Z' ];
        var o = "", c;
        str = str.toLowerCase();
        for (var i = 0; i < str.length; i++)
        {
            c = str.charCodeAt( i );
            if (c >= 97 && c <= 122)
                o += a[c - 97];
            else o += str.charAt( i );
        }
        return o;
    }
    return sMessage;
}
The previous sentence is false. The following sentence is true.
07-13-2006 08:54 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Help] Replacing Text Using Scripts (I think I'm dumb lol) - by Keikonium on 07-11-2006 at 10:51 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by noroom on 07-11-2006 at 10:53 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by Joereynolds89 on 07-11-2006 at 11:11 PM
RE: RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by jmccarroll on 07-11-2006 at 11:17 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by Keikonium on 07-11-2006 at 11:16 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by Joereynolds89 on 07-11-2006 at 11:17 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by Keikonium on 07-11-2006 at 11:33 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by Joereynolds89 on 07-11-2006 at 11:37 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by Nathan on 07-11-2006 at 11:41 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by Silentdragon on 07-11-2006 at 11:46 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by Joereynolds89 on 07-11-2006 at 11:57 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by aNILEator on 07-12-2006 at 07:26 AM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by aNILEator on 07-12-2006 at 07:29 AM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by Joereynolds89 on 07-12-2006 at 01:05 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by noroom on 07-12-2006 at 01:31 PM
RE: RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by Joereynolds89 on 07-12-2006 at 01:37 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by Keikonium on 07-12-2006 at 01:47 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by Pai on 07-12-2006 at 01:55 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by Joereynolds89 on 07-12-2006 at 02:25 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by Pai on 07-12-2006 at 05:48 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by aNILEator on 07-12-2006 at 06:22 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by Silentdragon on 07-12-2006 at 07:25 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by Joereynolds89 on 07-12-2006 at 07:51 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by segosa on 07-12-2006 at 09:35 PM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by Pai on 07-13-2006 at 12:43 AM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by segosa on 07-13-2006 at 08:54 AM
RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by Joereynolds89 on 07-13-2006 at 09:57 AM
RE: RE: [Help] Replacing Text Using Scripts (I think I'm dumb lol) - by segosa on 07-13-2006 at 10:04 AM


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