What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Ummm, WTF?

Ummm, WTF?
Author: Message:
NanaFreak
Scripting Contest Winner
*****


Posts: 1476
Reputation: 53
32 / Male / Flag
Joined: Jul 2006
RE: Ummm, WTF?
urs:
code:
OnEvent_MyStatusChange(nNewStatus){
   if(nNewStatus == 5){
      oldpsm = Messenger.MyPersonalMessage;
      Messenger.MyPersonalMessage = "I'll be back in a jiffy!";
   }
   else if(Messenger.MyStatus == 5){
      Messenger.MyPersonalMessage = oldpsm;
   }
}

mine:
code:
var oldpsm;
function
OnEvent_MyStatusChange(nNewStatus){
   if(nNewStatus == 5){
      oldpsm = Messenger.MyPersonalMessage;
      Messenger.MyPersonalMessage = "I'll be back in a jiffy!";
   }
   else if(nNewStatus != 5 && oldpsm != null){
      Messenger.MyPersonalMessage = oldpsm;
      oldpsm = null;
   }
}
the higblighted bits will make it work especially the != not == or it would do it at the same time and wouldnt work and you should make oldpsm a global variable
09-07-2006 09:09 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Ummm, WTF? - by Geodesic_Dragon on 09-07-2006 at 12:12 AM
RE: Ummm, WTF? - by alexp2_ad on 09-07-2006 at 12:18 AM
RE: Ummm, WTF? - by Geodesic_Dragon on 09-07-2006 at 12:22 AM
RE: Ummm, WTF? - by NanaFreak on 09-07-2006 at 05:33 AM
RE: RE: Ummm, WTF? - by alexp2_ad on 09-07-2006 at 08:59 AM
RE: Ummm, WTF? - by NanaFreak on 09-07-2006 at 09:09 AM
RE: RE: Ummm, WTF? - by alexp2_ad on 09-07-2006 at 09:12 AM
RE: Ummm, WTF? - by markee on 09-07-2006 at 09:13 AM
RE: Ummm, WTF? - by alexp2_ad on 09-07-2006 at 09:30 AM
RE: Ummm, WTF? - by CookieRevised on 09-07-2006 at 09:38 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