What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Q] Clickable Toast

[Q] Clickable Toast
Author: Message:
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
RE: [Q] Clickable Toast
quote:
Originally posted by PaulE
And what i have to do when i want more then 1 email? :P
code:
//Add as much contacts as you want here, but not too much since looping can slow down your Messenger
var checkFor = new Array("someone@live.com", "somebody@live.com");

function OnEvent_ContactSignin(email) {
   for(i in checkFor) {
      if(email == checkFor[i]) {
         //Now it even shows the name in the popup! :-D
         MsgPlus.DisplayToastContact("Notification", Messenger.MyContacts.GetContact(email).Name, "came online.", "", "ToastCallback", email);
         return;
   }
}

//Now accepts an email parameter to make things easier ;-)
function ToastCallback(email){
   Messenger.OpenChat(email);
}
Damn, you already got it. :P Ah well, maybe this could be interesting for someone. :)

This post was edited on 12-12-2006 at 06:12 PM by Matti.
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
12-12-2006 06:11 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Q] Clickable Toast - by PaulE on 12-12-2006 at 05:53 PM
RE: [Q] Clickable Toast - by Matti on 12-12-2006 at 05:57 PM
RE: [Q] Clickable Toast - by Spunky on 12-12-2006 at 06:00 PM
RE: [Q] Clickable Toast - by PaulE on 12-12-2006 at 06:01 PM
RE: [Q] Clickable Toast - by Spunky on 12-12-2006 at 06:02 PM
RE: [Q] Clickable Toast - by PaulE on 12-12-2006 at 06:07 PM
RE: [Q] Clickable Toast - by Matti on 12-12-2006 at 06:11 PM
RE: [Q] Clickable Toast - by PaulE on 12-12-2006 at 06:14 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