What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [HELP] Messenger.MyPersonalMessage won't assign to variable?

[HELP] Messenger.MyPersonalMessage won't assign to variable?
Author: Message:
Kriogenic
Junior Member
**

I own all.

Posts: 15
34 / Male / Flag
Joined: Aug 2007
O.P. RE: [HELP] Messenger.MyPersonalMessage won't assign to variable?
Sure.....

code:
function OnEvent_ChatWndSendMessage( ChatWnd, Message )
{
    chat_window = ChatWnd;
    Command = Message.split(' ')
    switch ( Command[0].toLowerCase() )
    {
           
        case "/testing" :
                var i = 0;
        var TheOldPm = Messenger.MyPersonalMessage;
        MsgPlus.AddTimer("testing", 1000 );
        Message = '';
        return "";
        break;
   
        default:
    }
    return Message;
}

function OnEvent_Timer( TimerId )
{
    switch( TimerId )
    {
        case 'testing':
      i++
     if(i < 60){
      Messenger.MyPersonalMessage = "Timing... " + i + " Minutes have passed";
        MsgPlus.AddTimer( 'cuptime', 60000 );
}else{
Messenger.MyPersonalMessage = MyOldPM;
}
            break;

        default:
    }
}


Now this is just the basis of my script... I am going to build on it make it so people can change how many minutes and what the message will say right now... After an hour the PM gets reset to normal... Lots for to do on the script its just a basis...

Thanks,
Kriogenic.

This post was edited on 08-10-2007 at 12:48 AM by Kriogenic.
08-10-2007 12:45 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[HELP] Messenger.MyPersonalMessage won't assign to variable? - by Kriogenic on 08-10-2007 at 12:17 AM
RE: [HELP] Messenger.MyPersonalMessage won't assign to variable? - by GNSPS on 08-10-2007 at 12:26 AM
RE: [HELP] Messenger.MyPersonalMessage won't assign to variable? - by Spunky on 08-10-2007 at 12:26 AM
RE: [HELP] Messenger.MyPersonalMessage won't assign to variable? - by Kriogenic on 08-10-2007 at 12:33 AM
RE: [HELP] Messenger.MyPersonalMessage won't assign to variable? - by Spunky on 08-10-2007 at 12:34 AM
RE: [HELP] Messenger.MyPersonalMessage won't assign to variable? - by GNSPS on 08-10-2007 at 12:39 AM
RE: [HELP] Messenger.MyPersonalMessage won't assign to variable? - by matty on 08-10-2007 at 12:45 AM
RE: [HELP] Messenger.MyPersonalMessage won't assign to variable? - by Kriogenic on 08-10-2007 at 12:45 AM
RE: [HELP] Messenger.MyPersonalMessage won't assign to variable? - by GNSPS on 08-10-2007 at 12:50 AM
RE: [HELP] Messenger.MyPersonalMessage won't assign to variable? - by matty on 08-10-2007 at 12:50 AM
RE: [HELP] Messenger.MyPersonalMessage won't assign to variable? - by Spunky on 08-10-2007 at 12:52 AM
RE: [HELP] Messenger.MyPersonalMessage won't assign to variable? - by Kriogenic on 08-10-2007 at 12:55 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