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

auto messaging
Author: Message:
davidpolitis
Full Member
***


Posts: 371
Reputation: 16
Joined: Aug 2006
RE: auto messaging
MessageKind is optional, it does not need to be declared in the function in this case...

Anyway... not sure if this is what you really wanted.

code:
//number of times to send message
var times = "2";

function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message)
{
    if (Origin != Messenger.MyName)
    {
        if (Origin == "example@hotmail.com")
        {
            if (Message == "hi")
            {
                for(i=0; i<times; i++)
                {
                    ChatWnd.SendMessage("hey, how r u");   
                }     
            }
        }
    }
}
09-08-2007 04:58 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
auto messaging - by jollyscripts on 09-07-2007 at 06:55 PM
RE: auto messaging - by davidpolitis on 09-08-2007 at 04:58 PM
RE: auto messaging - by Matti on 09-08-2007 at 06:24 PM
RE: auto messaging - by davidpolitis on 09-08-2007 at 08:58 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