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

Silent Messages
Author: Message:
MrT
Junior Member
**

Coding For Fun

Posts: 62
35 / Male / Flag
Joined: Jul 2006
RE: Silent Messages
code:

function sendmsg(kime,msj) {

for(var e = new Enumerator(Messenger.CurrentChats); !e.atEnd(); e.moveNext())
      {
        var curWnd = e.item();
        for(var f = new Enumerator(curWnd.Contacts); !f.atEnd(); f.moveNext())
        {
         
         
         if(f.item().Email == kime)
          {
            varmi = 1;
            ChatWnd = curWnd;
            break;
          }
         
         
          else {
         
         
          if(varmi == null) {
            varmi = 0;
          }

         
          }
         
         
          }
}
         if(varmi == 1) {
         ChatWnd.SendMessage(msj);
         }
         if(varmi == 0) {
         kisi = Messenger.OpenChat(kime);
         kisi.SendMessage(msj);
         }
}



if (you have a chat window with your contact)
   { send message }
else
   { open chat window
      send message }

:D

->    sendmsg("smarterchild@hotmail.com","hi")
01-17-2007 04:26 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Silent Messages - by bigbob85 on 01-15-2007 at 10:06 AM
RE: Silent Messages - by Felu on 01-15-2007 at 10:48 AM
RE: Silent Messages - by bigbob85 on 01-15-2007 at 11:11 AM
RE: Silent Messages - by Plik on 01-15-2007 at 11:19 AM
RE: Silent Messages - by bigbob85 on 01-16-2007 at 10:01 AM
RE: Silent Messages - by Felu on 01-16-2007 at 02:09 PM
RE: Silent Messages - by MrT on 01-17-2007 at 04:26 PM
RE: Silent Messages - by Eljay on 01-17-2007 at 04:29 PM
RE: RE: Silent Messages - by markee on 01-18-2007 at 12:26 AM
RE: RE: RE: Silent Messages - by CookieRevised on 01-18-2007 at 03:53 AM
RE: Silent Messages - by bigbob85 on 01-19-2007 at 12:31 AM
RE: RE: Silent Messages - by CookieRevised on 01-19-2007 at 02:07 PM
RE: Silent Messages - by bigbob85 on 01-19-2007 at 11:12 PM
RE: Silent Messages - by CookieRevised on 01-20-2007 at 03:20 AM
RE: Silent Messages - by bigbob85 on 01-20-2007 at 08:44 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