What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » My First Script, some problems

My First Script, some problems
Author: Message:
MeEtc
Patchou's look-alike
*****

Avatar
In the Shadow Gallery once again

Posts: 2200
Reputation: 60
38 / Male / Flag
Joined: Nov 2004
Status: Away
RE: My First Script, some problems
yeah, I'm helping him on WLM right now. Xat is trying to listen for a command and only do stuff when in certain chat windows. Here's what we have so far:
code:

function OnEvent_ChatWndSendMessage(ChatWnd, Message){
    for (var e = new Enumerator(ChatWnd.Contacts); !e.atEnd(); e.moveNext()) {
      c = ChatWnd.Contacts.GetContact();
      if (c.Email.substring(0,6) = 'mgroup') {

         // do stuff, check the message for commands

      } else {
         return '';
   }
}

[Image: signature/]     [Image: sharing.png]
I cannot hear you. There is a banana in my ear.
10-28-2008 05:20 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
My First Script, some problems - by Xat on 10-28-2008 at 04:14 PM
RE: My First Script, some problems - by matty on 10-28-2008 at 04:52 PM
RE: My First Script, some problems - by MeEtc on 10-28-2008 at 05: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