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

Script Snippit Examples?
Author: Message:
Keikonium
Full Member
***


Posts: 229
Reputation: 3
35 / Male / Flag
Joined: Jul 2006
O.P. RE: Script Snippit Examples?
I'm still a bit confused, so how do I go about calling the objects that aren't related to Plus!?

I have tried "Contacts.GetContact(Email);" (which makes sense to me) but I still get an error :P.

I just want to display a toast that contains a contacts email when they sign in lol.

This is the code I am using:

code:
var contactMail = Contacts.GetContact(Email);
var contactName = Contacts.GetContact(Name);

// PLAYS A SOUND WHEN A CONTACT SIGNS IN
function OnEvent_ContactSignin(){
MsgPlus.DisplayToastContact("Sign In","" + contactName + "", "(" + contactMail + ")\nhas signed in.", "", "OnEvent_ToastClicked", contactMail);
}


I can get the toasts to display fine if I make the vars into text strings (just adding " and " around whatever I have there) so I know there is no problem with the toast code, it's just the vars and such.
Now Playing:
[image not working] [Image: 87cc21b0.png]
09-02-2008 11:42 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Script Snippit Examples? - by Keikonium on 09-02-2008 at 11:22 PM
RE: Script Snippit Examples? - by Spunky on 09-02-2008 at 11:32 PM
RE: Script Snippit Examples? - by Keikonium on 09-02-2008 at 11:42 PM
RE: Script Snippit Examples? - by matty on 09-02-2008 at 11:56 PM
RE: Script Snippit Examples? - by Matti on 09-03-2008 at 11:09 AM
RE: Script Snippit Examples? - by Keikonium on 09-03-2008 at 11:19 AM
RE: Script Snippit Examples? - by Ezra on 09-03-2008 at 02:05 PM
RE: Script Snippit Examples? - by Keikonium on 09-03-2008 at 06:07 PM
RE: Script Snippit Examples? - by matty on 09-03-2008 at 06:21 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