What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Why won't this work?[SOLVED]

Why won't this work?[SOLVED]
Author: Message:
Jimbo
Veteran Member
*****

Avatar

Posts: 1650
Reputation: 18
32 / Male / Flag
Joined: Jul 2006
O.P. Why won't this work?[SOLVED]
Why won't this work. I think it is meant to randomly change my PSM
code:
    i = 0;
//Change here your PSM   
    names = new Array();
    names[0] = "HeHe ";
     
//Change here your email
    emails = new Array();
    emails[0] = "jamesross_134@hotmail.com";
   
//Here your smiley's (add "smile[28] = '[smile]'" etc.)   
    smile = new Array();
    smile[0]  = "(L)";
    smile[1]  = "(K)";
    smile[2]  = "(F)";
    smile[3]  = ":$";
    smile[4]  = "(a)";
    smile[5] = ":)";
    smile[6] = ":(";
    smile[7] = ":'(";
    smile[8] = ":|";
    smile[9] = "|-)";
    smile[10] = ":@";
    smile[11] = "(B)";
    smile[12] = "^o)";
    smile[13] = "(R)";
    smile[14] = "(S)";
    smile[15] = "(*)";
    smile[16] = ":-#";
    smile[17] = "8o|";
    smile[18] = "(H)";
    smile[19] = "(T)";
    smile[20] = "(I)";
    smile[21] = "({)";
    smile[22] = "(})";
    smile[23] = ":P";
    smile[24] = "+o(";
    smile[25] = "(M)";
    smile[26] = "(@)";
    smile[27] = "(&)";

function OnEvent_Initialize(MessengerStart)
{   
   
    MsgPlus.AddTimer("Update", 6000);
   
}

function OnEvent_Uninitialize(MessengerExit)
{
}

function onEvent_Timer(timerID)
{
   
    if(timerID == "Update")
    {
   
        var i = Math.floor(Math.random()*smile.length);
       
        for(var a = 0; a < email.length; a++)
        {

            if(Messenger.MyEmail == emails[a])
            {
       
                Messenger.MyPersonalMessage = smile[i] + " " + names[a];
       
                MsgPlus.AddTimer("Update", 6000);
           
            }   

        }   
   
    }
   
}


This post was edited on 10-22-2006 at 04:29 PM by Jimbo.
10-22-2006 04:15 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Why won't this work?[SOLVED] - by Jimbo on 10-22-2006 at 04:15 PM
RE: Why won't this work? - by pollolibredegrasa on 10-22-2006 at 04:19 PM
RE: Why won't this work? - by Jimbo on 10-22-2006 at 04:23 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