What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Won't display toasts

Won't display toasts
Author: Message:
roflmao456
Skinning Contest Winner
****

Avatar

Posts: 955
Reputation: 24
29 / Male / Flag
Joined: Nov 2006
Status: Away
RE: Won't display toasts
to iterate through a Contacts object, first you must start a for statement:
code:
for(
then, add the enumerator object as a variable (and the parameters as the Contacts object):
code:
var e = new Enumerator(ChatWnd.Contacts);
loop through the enumeration while it isn't at the end:
code:
!e.atEnd; e.moveNext()
end the for statement and add braces.
code:
){
// some code here (occurs for each item)..
}

then get the Contact Object items by using
code:
e.item();
.

:P


but then also, since you're doing that in the ChatWndReceiveMessage, it has an Origin parameter which has the contact's (or your) name in it (depending on who just sent a message)

This post was edited on 10-06-2008 at 09:32 PM by roflmao456.
[quote]
Ultimatess6
: What a noob mod
10-06-2008 07:54 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Won't display toasts - by Addenorw on 10-06-2008 at 05:08 PM
RE: Won't display toasts - by Spunky on 10-06-2008 at 05:22 PM
RE: Won't display toasts - by Addenorw on 10-06-2008 at 05:27 PM
RE: Won't display toasts - by roflmao456 on 10-06-2008 at 07:54 PM
RE: Won't display toasts - by matty on 10-06-2008 at 08:20 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