What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Request] Check Contact Status

[Request] Check Contact Status
Author: Message:
Chris4
Elite Member
*****

Avatar

Posts: 4461
Reputation: 84
33 / Male / Flag
Joined: Dec 2004
O.P. [Request] Check Contact Status
People say to me 'Is <person> online?'

It would be cool if you could type a command, followed by the contacts e-mail address and it tells you if they are online or not, instead of having to go to the contact list.

quote:
/check contact@hotmail.com

Sounds easy enough to make :P

Thanks to anyone who does try it :smile:

This post was edited on 09-24-2006 at 08:54 PM by Chris4.
Twitter: @ChrisLozeau
09-24-2006 08:53 PM
Profile PM Find Quote Report
Panachiba
Full Member
***

Avatar
Spanish User/Helper, Chile Presente!

Posts: 184
Reputation: 15
– / Male / Flag
Joined: Jan 2005
RE: [Request] Check Contact Status
mm..blah!, for some reason the prople use the mode "offline", so..create a script what can see if she/he is online or not, is how a violation to the privacity , i think  -_-.

but is a good idea :P

This post was edited on 09-24-2006 at 09:20 PM by Panachiba.
Chile!!!!Seba!, Comunidad Hispana oficial
[Image: seba18an.jpg?dc=4675511111826395393]
[Image: panachiba.gif]
09-24-2006 09:19 PM
Profile E-Mail PM Find Quote Report
Silentdragon
Full Member
***

Avatar
if(life==null && wrists) EmoAlert();

Posts: 148
Reputation: 2
34 / Male / –
Joined: Jun 2006
RE: [Request] Check Contact Status
Toasts you saying if they're online, offline, or unknown status.
code:
function OnEvent_ChatWndSendMessage(Wnd, Message) {
    if(Message.match(/\/check .+@.+/i) != null) {
        var Contact = Messenger.MyContacts.GetContact(Message.substr(7));
        if(Contact != null) {
            var Status = Contact.Status;
            if(Status > 2)
                MsgPlus.DisplayToastContact('Status',Contact.Name,'Is Online');
            else if(Status == 1)
                MsgPlus.DisplayToastcontact('Status',Contact.Name,'Is Offline');
            else
                MsgPlus.DisplayToastContact('Error',Contact.Name,'Has unknown status');
        } else {
            MsgPlus.DisplayToast('Contact','Not found.');
        }
        return '';
    }
}

function OnGetScriptCommands()
{
    var ScriptCommands = "<ScriptCommands>";
    ScriptCommands    +=     "<Command>";
    ScriptCommands    +=         "<Name>check</Name>";
    ScriptCommands    +=         "<Description>Checks status of email</Description>";
    ScriptCommands    +=          "<Parameters>&lt;email address&gt;</Parameters>";
    ScriptCommands    +=     "</Command>";
    ScriptCommands    += "</ScriptCommands>";

    return ScriptCommands;
}
09-24-2006 09:23 PM
Profile E-Mail PM Web Find Quote Report
Chris4
Elite Member
*****

Avatar

Posts: 4461
Reputation: 84
33 / Male / Flag
Joined: Dec 2004
O.P. RE: [Request] Check Contact Status
Thank you very much Silentdragon! :D
Twitter: @ChrisLozeau
09-24-2006 10:06 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »


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