What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » WLM Plus! General » Msg Evry1 at once

Msg Evry1 at once
Author: Message:
markee
Veteran Member
*****

Avatar

Posts: 1622
Reputation: 50
36 / Male / Flag
Joined: Jan 2006
RE: RE: Msg Evry1 at once
quote:
Originally posted by Matty
code:
function OnEvent_Initialize(bMessengerStart){
    for(var enumerator = new Enumerator(Messenger.MyContacts) ; !enumerator.atEnd(); enumerator.moveNext()){
        var sContact = enumerator.item();
        Messenger.OpenChat(sContact.Email).SendMessage('hi');
    }
}

Don't see why you would wan't to do this but here it is.

Wouldn't it be better not to include the ones that are offline, it's just an extra if statement.  Maybe there's something else I missed but heres my adaptation of Matty's code.
code:
function OnEvent_Initialize(bMessengerStart){
    for(var enumerator = new Enumerator(Messenger.MyContacts) ; !enumerator.atEnd(); enumerator.moveNext()){
        var sContact = enumerator.item();
        if (sContact.Status != 1){
            Messenger.OpenChat(sContact.Email).SendMessage('hi');
        }
    }
}
[Image: markee.png]
10-03-2006 02:31 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Msg Evry1 at once - by dumb_nelby2 on 09-30-2006 at 08:33 PM
RE: Msg Evry1 at once - by Steven on 09-30-2006 at 08:34 PM
RE: Msg Evry1 at once - by dumb_nelby2 on 09-30-2006 at 09:32 PM
RE: Msg Evry1 at once - by Jimbo on 10-01-2006 at 07:29 AM
RE: Msg Evry1 at once - by NanaFreak on 10-01-2006 at 07:31 AM
RE: Msg Evry1 at once - by markee on 10-01-2006 at 07:37 AM
RE: Msg Evry1 at once - by riahc4 on 10-02-2006 at 11:22 PM
RE: Msg Evry1 at once - by CookieRevised on 10-02-2006 at 11:24 PM
RE: Msg Evry1 at once - by matty on 10-03-2006 at 01:15 AM
RE: RE: Msg Evry1 at once - by markee on 10-03-2006 at 02:31 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