What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [REQUEST] Online Contacts Msg Sender

[REQUEST] Online Contacts Msg Sender
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: [REQUEST] Online Contacts Msg Sender
quote:
Originally posted by erickjbc
Matty: sEmail is the person that conects right?
see the Official Scripting Documentation, which is a must-first-read for anyone who wants to write a script or anyone who wants to know something about scripting.

The documentation is also available from inside the Scripting Editor itself:

[Image: attachment.php?pid=734739]

Thus:
quote:
Scripting Documentation > Events Reference > Messenger Events > OnEvent_ContactSignin

Syntax
    OnEvent_ContactSignin(
        [string] Email
    );

Parameters
    Email            [string] Sign-in email of the contact.
so yes, the parameter Email is the person that connected.

---------------------------------------------------------


quote:
Originally posted by erickjbc
And can you put that when the message is sent, closes the window? I dont want to come home and find like 200 opened convers :S
The script snipped from Matty already does that:
quote:
Originally posted by Matty
code:
function OnEvent_ContactSignin(sEmail){
    var ChatWnd_obj = Messenger.OpenChat('your phone account email here');
    if (ChatWnd_obj.EditChangeAllowed == true){
       ChatWnd_obj.SendMessage(sEmail+' is online');
       ChatWnd_obj.Close(0);
    }
    else{
       ChatWnd_obj.Close(0);
    }
}

But even if the closing wasn't done, there wont be 200 windows open anyways though... only 1: the chat window from your 'PC account' to your 'phone account'.




;)

.gif File Attachment: plus4_scriptingdoc.gif (5.07 KB)
This file has been downloaded 407 time(s).

This post was edited on 09-27-2006 at 11:09 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
09-27-2006 11:02 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[REQUEST] Online Contacts Msg Sender - by erickjbc on 09-26-2006 at 10:06 PM
RE: [REQUEST] Online Contacts Msg Sender - by cloudhunter on 09-26-2006 at 10:08 PM
RE: [REQUEST] Online Contacts Msg Sender - by erickjbc on 09-26-2006 at 11:39 PM
RE: [REQUEST] Online Contacts Msg Sender - by matty on 09-27-2006 at 02:38 AM
RE: [REQUEST] Online Contacts Msg Sender - by deAd on 09-27-2006 at 03:00 AM
RE: [REQUEST] Online Contacts Msg Sender - by erickjbc on 09-27-2006 at 10:25 PM
RE: [REQUEST] Online Contacts Msg Sender - by CookieRevised on 09-27-2006 at 11:02 PM
RE: [REQUEST] Online Contacts Msg Sender - by erickjbc on 09-27-2006 at 11:49 PM
RE: [REQUEST] Online Contacts Msg Sender - by CookieRevised on 09-28-2006 at 12:02 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