Shoutbox

[Request] Relay messages. - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: [Request] Relay messages. (/showthread.php?tid=66042)

[Request] Relay messages. by sno on 09-10-2006 at 12:44 PM

i wish to relay all messages from 1 pc's msn account to my msn addy i use on another pc. aswell as give the user from the other msn list a message stating that the conversation has been relayed to the other person...

would this be possible, i know of the "Linked Chats" but i want 1 for the whole contact list, as the other pc dosnt have a monitor attached....


RE: [Request] Relay messages. by xxhannahxx on 09-10-2006 at 12:51 PM

yh that we be good


RE: [Request] Relay messages. by markee on 09-10-2006 at 12:52 PM

Why don't you just use polygamy (avaliable in the MP!L preferences) and run both of the accounts from the computer that you are using?


RE: [Request] Relay messages. by sno on 09-10-2006 at 01:35 PM

becuase wlm dosnt like polygamy, and either 1 or both of the clients crash.


RE: [Request] Relay messages. by cloudhunter on 09-10-2006 at 11:10 PM

quote:
Originally posted by sno
becuase wlm dosnt like polygamy, and either 1 or both of the clients crash.

I've used polygamy many times before with plus and any number of plugins. You must have some other software that doesn't like it. I believe there is something that can do similar, but i can't remember its name :/

Failing that, log in with something like GAIM or any number of unofficial msn clients.

Cloudy
RE: [Request] Relay messages. by sno on 09-11-2006 at 07:41 AM

i dont want to use an unofficial client, i just want a simple script. its not too hard to ask.


RE: [Request] Relay messages. by markee on 09-11-2006 at 08:03 AM

quote:
Originally posted by sno
i dont want to use an unofficial client, i just want a simple script. its not too hard to ask.
It is a lot of work for something that you can do in other ways.  That is the reason why we haven't done it but go ahead and make it yourself and will might give you some help if you have some troubles (I don't think anyone would want to write this for you as they would have no use for it themselves).
RE: [Request] Relay messages. by Spunky on 09-11-2006 at 08:03 AM

quote:
Originally posted by sno
its not too hard to ask.

Then why not reserach how to do it and make it yourself?

I don't think it would be very ethical to make a script like this. I had an idea to do it, but it can be misused to send your conversation with one person to another person without their knowledge. Why not use Messenger 7.5 as well as WLM if you don't want to use an unofficial client to do the job? Also, I constantly use polygamy with WLM and I've never had a problem
RE: RE: [Request] Relay messages. by sno on 09-11-2006 at 09:05 AM

quote:
Originally posted by SpunkyLoveMuff

Then why not reserach how to do it and make it yourself?

but it can be misused to send your conversation with one person to another person without their knowledge.


quote:
Originally posted by sno
aswell as give the user from the other msn list a message stating that the conversation has been relayed to the other person...


if i had the time to research into makin it i would, but i havnt.
RE: [Request] Relay messages. by Spunky on 09-11-2006 at 11:46 AM

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 = "";
        }
}



I had some time spare so thought I'd do you a favour...

So far it's not tested, but should work :p

EDIT: To work, you will need to add your 2nd account to your contact list on your first account
RE: [Request] Relay messages. by sno on 09-11-2006 at 12:42 PM

couldnt get it to start the script, came up with the defective thing.


RE: [Request] Relay messages. by Spunky on 09-11-2006 at 12:45 PM

Tested it now with a friend and also using polygamy and it works fine... I don't know where you're going wrong... Try packaging it into a plsc file with a ScriptInfo.xml file and importing it


RE: [Request] Relay messages. by sno on 09-13-2006 at 12:06 PM

sorry to be orkward, but i just tryied to and it gives me stupid errors n stuff.
anychance you could throw up a plsc?


RE: [Request] Relay messages. by Spunky on 09-15-2006 at 03:14 PM

Heres the plsc file for ya... Script is running fine on my PC so you shouldn't have any problems... let me know though :p


RE: [Request] Relay messages. by sno on 09-15-2006 at 03:49 PM

[Image: msgplsbm6.jpg]
only other scripts i got running is the uptimepm thing.


RE: [Request] Relay messages. by R4000 on 09-15-2006 at 03:52 PM

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.
RE: [Request] Relay messages. by sno on 09-15-2006 at 04:21 PM

lol, worked, and spammed out the convo window like hell.

and it dosnt send wht the contact says, it just send messages have been forwarded, etc.


RE: [Request] Relay messages. by jollyscripts on 09-12-2007 at 07:51 PM

i pasted this script but it comes up with error when i press save