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

need help writing a script
Author: Message:
Shondoit
Full Member
***

Avatar
Hmm, Just Me...

Posts: 227
Reputation: 15
35 / Male / Flag
Joined: Jul 2006
RE: need help writing a script
You should not replace the 'Email' parameter

When the function 'OnEvent_ContactSignin' is called as an event, it passes one parameter named Email, so you know who signed in...
If you want to do this for only one person, you should check if the Email parameter is the same as the email of the person you want

function OnEvent_ContactSignin (Email) {
   if (Email == "example@hotmail.com") {
      var Contact = Messenger.MyContacts.GetContact(Email)
      Messenger.OpenChat(Contact)
   }
}
My scripts:                            [Image: shondoit.gif]
+ Timezone
+ Camelo
+ Multisearch
09-13-2006 10:20 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
need help writing a script - by ganate123 on 09-13-2006 at 07:40 PM
RE: need help writing a script - by Jesus on 09-13-2006 at 07:46 PM
RE: need help writing a script - by Shondoit on 09-13-2006 at 07:59 PM
RE: need help writing a script - by Jesus on 09-13-2006 at 08:05 PM
RE: need help writing a script - by ganate123 on 09-13-2006 at 10:10 PM
RE: need help writing a script - by Shondoit on 09-13-2006 at 10:20 PM
RE: need help writing a script - by ganate123 on 09-13-2006 at 10:36 PM
RE: need help writing a script - by Shondoit on 09-13-2006 at 10:42 PM
RE: need help writing a script - by ganate123 on 09-13-2006 at 11:58 PM
RE: need help writing a script - by cloudhunter on 09-14-2006 at 12:30 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