What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Request] Relay messages.

[Request] Relay messages.
Author: Message:
R4000
Junior Member
**

W2M - GD Script Creator

Posts: 44
33 / Male / –
Joined: May 2006
RE: [Request] Relay messages.
code:
var tmpString="tmp";
var sAccount = Messenger.MyContacts.GetContact("YOUR 2ND ACCOUNT'S EMAIL HERE")
function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message){
    ChatWnd.SendMessage("Messages are being forwarded to: "+sAccount.Email);
    if(Origin != Messenger.MyName && Origin != sAccount.Name && tmpString!=""){
        tmpString = MsgPlus.RemoveFormatCodes(Origin)+" says: "+ Message
        sAccountChatWnd = Messenger.OpenChat(sAccount.Email);
        sAccountChatWnd.SendMessage(tmpString);
    }
    tmpString = "";
}

function OnEvent_ChatWndSendMessage(ChatWnd, Message){
    ChatWnd.SendMessage("Messages are being forwarded to: "+sAccount.Email);
    if(tmpString != ""){
        tmpString = MsgPlus.RemoveFormatCodes(Messenger.MyName)+" says: "+ Message
        sAccountChatWnd = Messenger.OpenChat(sAccount.Email);
        sAccountChatWnd.SendMessage(tmpString);
        tmpString = "";
    }
}


PLSC attached...
enjoy.
(he forgot to end some lines properly, and i indented it.

.plsc File Attachment: RelayMessages.plsc (1.15 KB)
This file has been downloaded 216 time(s).
[Image: msnsig/]
This image stops working when my PC is off, it isn't bad coding :)
The source to the image above. | MSN: peter@gsf.tv
09-15-2006 03:52 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Request] Relay messages. - by sno on 09-10-2006 at 12:44 PM
RE: [Request] Relay messages. - by xxhannahxx on 09-10-2006 at 12:51 PM
RE: [Request] Relay messages. - by markee on 09-10-2006 at 12:52 PM
RE: [Request] Relay messages. - by sno on 09-10-2006 at 01:35 PM
RE: [Request] Relay messages. - by cloudhunter on 09-10-2006 at 11:10 PM
RE: [Request] Relay messages. - by sno on 09-11-2006 at 07:41 AM
RE: [Request] Relay messages. - by markee on 09-11-2006 at 08:03 AM
RE: [Request] Relay messages. - by Spunky on 09-11-2006 at 08:03 AM
RE: RE: [Request] Relay messages. - by sno on 09-11-2006 at 09:05 AM
RE: [Request] Relay messages. - by Spunky on 09-11-2006 at 11:46 AM
RE: [Request] Relay messages. - by sno on 09-11-2006 at 12:42 PM
RE: [Request] Relay messages. - by Spunky on 09-11-2006 at 12:45 PM
RE: [Request] Relay messages. - by sno on 09-13-2006 at 12:06 PM
RE: [Request] Relay messages. - by Spunky on 09-15-2006 at 03:14 PM
RE: [Request] Relay messages. - by sno on 09-15-2006 at 03:49 PM
RE: [Request] Relay messages. - by R4000 on 09-15-2006 at 03:52 PM
RE: [Request] Relay messages. - by sno on 09-15-2006 at 04:21 PM
RE: [Request] Relay messages. - by jollyscripts on 09-12-2007 at 07:51 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