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

Clone + auto responder
Author: Message:
Pinecone
New Member
*

Avatar
Coffee Powered

Posts: 9
34 / Male / Flag
Joined: Dec 2008
RE: Clone + auto responder
For changing your name to your contact's name, you can use this script: http://www.msgplus.net/scripts/view/72-USay/

And the following (untested) script should use the usay script (link above) to change your name and re-send their message. It prefixes all of your messages with two non-breaking spaces so it knows not to re-send them.

code:
function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MsgKind) {
    if (Message.substring(0,2) == '  ') return Message;
    ChatWnd.SendMessage('/usay ' + Message);
    return Message;
}
function OnEvent_ChatWndSendMessage(ChatWnd, Message) {
    if (Message.chatAt(0) != '/' && Message.charAt(0) != '/') Message = '  ' + Message;
    return Message;
}


Please note: There are probably better ways to check if the message was sent from you or not, and the method i used could mess with other scripts.

This post was edited on 12-23-2008 at 06:52 PM by Pinecone.
12-22-2008 06:56 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Clone + auto responder - by IA015 on 12-19-2008 at 12:34 PM
RE: Clone + auto responder - by Pinecone on 12-22-2008 at 06:56 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