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

Pages: (2): « First [ 1 ] 2 » Last »
welcome toast
Author: Message:
cameron.stokes3
New Member
*


Posts: 12
32 / Male / –
Joined: Jan 2007
O.P. welcome toast
there used to be a script that was called something like welcome toast... the basics of the script where... if.email = blaa display a toast on sign in saying welcome... does anyone have a link to this script as i cant find it or can anyone replicate something like this for me?

This post was edited on 01-20-2007 at 03:31 PM by cameron.stokes3.
01-20-2007 03:30 PM
Profile E-Mail PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: welcome toast
code:
function OnEvent_SigninReady(_email) {
    if (_email === 'johndoe@hotmail.com') {
        MsgPlus.DisplayToast('Welcome:', 'Welcome '+_email);
    }
}
01-20-2007 04:06 PM
Profile E-Mail PM Find Quote Report
cameron.stokes3
New Member
*


Posts: 12
32 / Male / –
Joined: Jan 2007
O.P. RE: welcome toast
awesome... cheers
01-25-2007 06:29 PM
Profile E-Mail PM Find Quote Report
plus
Banned


Posts: 127
Reputation: -10
Joined: Jan 2007
RE: welcome toast
is there a way for it to be if  any one signs in
01-25-2007 06:36 PM
Profile E-Mail PM Find Quote Report
Supersonicdarky
Veteran Member
*****

Avatar

Posts: 2317
Reputation: 48
– / – / Flag
Joined: Feb 2005
Status: Away
RE: welcome toast
code:
function OnEvent_SigninReady(_email) {
   MsgPlus.DisplayToast('Welcome:', 'Welcome '+_email);
}


if this is wrong, i phail :tongue:
01-25-2007 06:37 PM
Profile E-Mail PM Find Quote Report
Jimbo
Veteran Member
*****

Avatar

Posts: 1650
Reputation: 18
31 / Male / Flag
Joined: Jul 2006
RE: welcome toast
Isn't this the first script that you make? In the scripting docs
01-25-2007 06:43 PM
Profile E-Mail PM Find Quote Report
plus
Banned


Posts: 127
Reputation: -10
Joined: Jan 2007
RE: welcome toast
Yes but the  scripting docs are lost a can find them

I shall redownload :p
01-25-2007 06:47 PM
Profile E-Mail PM Find Quote Report
cameron.stokes3
New Member
*


Posts: 12
32 / Male / –
Joined: Jan 2007
O.P. Huh?  RE: welcome toast
code:
function OnEvent_SigninReady(sEmail){
var contacts = Messenger.MyContacts;
var online = 0;
var offline = 0;
for(var e = new Enumerator(contacts); !e.atEnd(); e.moveNext()){
item = e.item();
if(item.Status != 1 && item.Status != 0){
online++;
} else {
offline++;
}
}

function OnEvent_SigninReady(_email) {
if (_email === 'blaa@blaa.com') {
MsgPlus.DisplayToast('Welcome', 'Hello and Welcome to Windows Live Messenger NAME.\n\r\n You have '+online+' contacts online.');
}
}

hi...  i am tryin to make the toast show how many contacts are online and this is what ive come up with... im not very good at this as it doesnt work :S do you know how to make it do what i want?

This post was edited on 01-25-2007 at 06:52 PM by cameron.stokes3.
01-25-2007 06:49 PM
Profile E-Mail PM Find Quote Report
Supersonicdarky
Veteran Member
*****

Avatar

Posts: 2317
Reputation: 48
– / – / Flag
Joined: Feb 2005
Status: Away
RE: welcome toast
ready script: http://shoutbox.menthix.net/showthread.php?tid=65477&pid=720331

decompile it and see how its done in there if you want to learn
01-25-2007 06:55 PM
Profile E-Mail PM Find Quote Report
cameron.stokes3
New Member
*


Posts: 12
32 / Male / –
Joined: Jan 2007
O.P. RE: welcome toast
code:
function OnEvent_SigninReady(sEmail){
var contacts = Messenger.MyContacts;
var online = 0;
var offline = 0;
for(var e = new Enumerator(contacts); !e.atEnd(); e.moveNext()){
item = e.item();
if(item.Status != 1 && item.Status != 0){
online++;
} else {
offline++;
}
}
MsgPlus.DisplayToastContact('Welcome!', 'Hello '+sEmail+' You have '+online+' contacts online.', '' , '' ,'', '');
}


ok i have thqat and it all works but... all i see is hello and my email... the rest of it goes off the edge... how do i make it have like word wrapping so it makes it on a new line if it dont fit?
01-25-2007 07:24 PM
Profile E-Mail PM Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« 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