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

status script
Author: Message:
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: status script
js code:
var old_status = "";

function OnEvent_ChatWndCreated(){
  if(Messenger.CurrentChats.Count > 0){
    if(old_status === "") old_status = Messenger.MyStatus;
    Messenger.MyStatus = STATUS_BUSY;
  }
}

function OnEvent_ChatWndDestroyed(){
  if(Messenger.CurrentChats.Count === 0){
    Messenger.MyStatus = old_status
    old_status = "";
  }
}

Untested, but should work from what I can tell.

This post was edited on 10-15-2010 at 11:26 AM by Spunky.
<Eljay> "Problems encountered: shit blew up" :zippy:
10-15-2010 09:15 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
status script - by puortant on 10-15-2010 at 02:31 AM
RE: status script - by Spunky on 10-15-2010 at 09:15 AM
RE: status script - by matty on 10-15-2010 at 11:16 AM
RE: status script - by foaly on 10-15-2010 at 11:22 AM
RE: status script - by matty on 10-15-2010 at 11:23 AM
RE: status script - by Spunky on 10-15-2010 at 11:25 AM
RE: status script - by CookieRevised on 10-15-2010 at 11:43 AM
RE: status script - by puortant on 10-21-2010 at 02:25 AM
RE: status script - by CookieRevised on 10-21-2010 at 04:58 AM
RE: status script - by puortant on 10-21-2010 at 06:23 AM
RE: status script - by CookieRevised on 10-21-2010 at 07:22 AM
RE: RE: status script - by puortant on 10-21-2010 at 12:16 PM
RE: status script - by Spunky on 10-21-2010 at 08:56 AM
RE: status script - by puortant on 10-21-2010 at 12:32 PM
RE: status script - by CookieRevised on 10-21-2010 at 01:46 PM
RE: status script - by puortant on 10-21-2010 at 10:14 PM
RE: status script - by Spunky on 10-22-2010 at 07:46 AM
RE: status script - by puortant on 10-22-2010 at 12: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