What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Name colour changer - why won't it work?

Name colour changer - why won't it work?
Author: Message:
CrAzY_KeBaB
New Member
*


Posts: 6
Joined: Sep 2006
O.P. RE: Name colour changer - why won't it work?
OK, still doesn't work, and it can't get any errors, because the script doesn't run:

code:
var run=0;
var x=1;
var y=0;
var myname;

function OnEvent_Initialize(MessengerStart)
{
Debug.DebuggingWindowVisible = true;
}

function OnEvent_ChatWndSendMessage(ChatWnd,Origin,Message,MessageKind)
{
    if (Message=="n#on")
    {
        run=1;
        return "";
    }
    if (Message=="n#off")
    {
        run=0;
        return "";
    }
}

function OnEvent_ChatWndReceiveMessage(ChatWnd,Origin, Message, MessageKind)
{
    if (run==1)
    {
        if (x==50)
        {
            x=1;
            y=0;
        }
        myname=Messenger.MyName;
        myname=myname.replace(y,x);
        Messenger.MyName=myname;
        x++;
        y++;
    }
}

09-18-2006 07:12 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Name colour changer - why won't it work? - by CrAzY_KeBaB on 09-18-2006 at 05:59 PM
RE: Name colour changer - why won't it work? - by Matti on 09-18-2006 at 06:49 PM
RE: Name colour changer - why won't it work? - by CrAzY_KeBaB on 09-18-2006 at 07: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