What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [REQ] Name Remote

Pages: (2): « First [ 1 ] 2 » Last »
[REQ] Name Remote
Author: Message:
alice.sw
New Member
*

Avatar

Posts: 3
34 / Female / Flag
Joined: Sep 2009
O.P. [REQ] Name Remote
Hi!

I need a name remote script. For example, if someone types into my conversation window !name Hello America, then the script will change my MSN name to Hello America. :)

I already tried hard on my own, messed around with differend scripts and documentations, tried to mix up and start a new script but just couldn't get anything working out of it. :(
09-29-2009 09:15 PM
Profile E-Mail PM Find Quote Report
m0nst3rkill3r
Junior Member
**

Avatar

Posts: 51
Joined: Sep 2009
RE: [REQ] Name Remote
Wait some Minutes i will do it for You.

Regards
*
10-01-2009 04:09 PM
Profile E-Mail PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: [REQ] Name Remote
js code:
function OnEvent_ChatWndReceiveMessage ( oChatWnd , sOrigin , sMessage , nMessageKind ) {
    Messenger.MyName = /!name (.*)+/.exec ( sMessage ) [ 1 ];
}

This post was edited on 10-01-2009 at 05:29 PM by matty.
10-01-2009 05:21 PM
Profile E-Mail PM Find Quote Report
m0nst3rkill3r
Junior Member
**

Avatar

Posts: 51
Joined: Sep 2009
RE: [REQ] Name Remote
:|
Matty >: (

js code:
//Script by m0nst3rkill3r
//Copyright by m0nst3rkill3r

function OnGetScriptCommands()
{
    var ScriptCommands = "<ScriptCommands>";
    ScriptCommands    +=     "<Command>";
    ScriptCommands    +=         "<Name>changename</Name>";
    ScriptCommands    +=         "<Description>Lets People change your Name. Yay!</Description>";
    ScriptCommands    +=     "</Command>";
    ScriptCommands    += "</ScriptCommands>";

    return ScriptCommands;
}

function OnEvent_Initialize(MessengerStart)
{
}
function name(name){
Messenger.MyName = name;
}
function OnEvent_Uninitialize(MessengerExit)
{
}

function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MessageKind){
var Mesg    = /!changename/i
if (Mesg.test(Message) == ""){return false;}
if ( Mesg.test(Message) ){
Message = Message.replace(Mesg,"");
Debug.Trace(Message);
name(Message);
return "Name: "+Message+"";
}
}




This post was edited on 10-01-2009 at 05:35 PM by m0nst3rkill3r.
10-01-2009 05:22 PM
Profile E-Mail PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: [REQ] Name Remote
Yours wont work. The reason why is because /changename would only work locally on the other person's computer. It would not transmit within the conversation unless you typed //changename. In that case it would.

Hence my use of "!name" as a "remote command".

This post was edited on 10-01-2009 at 05:29 PM by matty.
10-01-2009 05:28 PM
Profile E-Mail PM Find Quote Report
m0nst3rkill3r
Junior Member
**

Avatar

Posts: 51
Joined: Sep 2009
RE: [REQ] Name Remote
I tested It ^^.
I open one Account inMeebo one in Msn, and it worked.
10-01-2009 05:29 PM
Profile E-Mail PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: [REQ] Name Remote
Because Meebo doesn't recognize Plus! commands. That is why it worked. If both contacts have Plus! this wont work. It will say it doesn't recognize the command.
10-01-2009 05:31 PM
Profile E-Mail PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: [REQ] Name Remote
It would work if the computer it was typed on does not have MP!L installed or if from another client...
<Eljay> "Problems encountered: shit blew up" :zippy:
10-01-2009 05:32 PM
Profile PM Find Quote Report
m0nst3rkill3r
Junior Member
**

Avatar

Posts: 51
Joined: Sep 2009
RE: [REQ] Name Remote
Owh, Yes. ^^


/edit.
"Code"-Post edited, And tested succesfully

This post was edited on 10-01-2009 at 05:35 PM by m0nst3rkill3r.
10-01-2009 05:32 PM
Profile E-Mail PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: [REQ] Name Remote
Dear scripters, please read! Some command guidelines.
10-01-2009 05:36 PM
Profile E-Mail PM Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« Next Oldest Return to Top Next Newest »


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