[REQ] Name Remote - 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: [REQ] Name Remote (/showthread.php?tid=92402) [REQ] Name Remote by alice.sw on 09-29-2009 at 09:15 PM
Hi! RE: [REQ] Name Remote by m0nst3rkill3r on 10-01-2009 at 04:09 PM
Wait some Minutes i will do it for You. RE: [REQ] Name Remote by matty on 10-01-2009 at 05:21 PM
js code: RE: [REQ] Name Remote by m0nst3rkill3r on 10-01-2009 at 05:22 PM
js code: RE: [REQ] Name Remote by matty on 10-01-2009 at 05:28 PM
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. RE: [REQ] Name Remote by m0nst3rkill3r on 10-01-2009 at 05:29 PM
I tested It ^^. RE: [REQ] Name Remote by matty on 10-01-2009 at 05:31 PM 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. RE: [REQ] Name Remote by Spunky on 10-01-2009 at 05:32 PM It would work if the computer it was typed on does not have MP!L installed or if from another client... RE: [REQ] Name Remote by m0nst3rkill3r on 10-01-2009 at 05:32 PM
Owh, Yes. ^^ RE: [REQ] Name Remote by matty on 10-01-2009 at 05:36 PM Dear scripters, please read! Some command guidelines. RE: [REQ] Name Remote by m0nst3rkill3r on 10-01-2009 at 05:37 PM
Read Already. RE: [REQ] Name Remote by alice.sw on 10-02-2009 at 04:50 AM
Oh, so nice of you, guys. Thank you alot! RE: [REQ] Name Remote by matty on 10-02-2009 at 12:39 PM Interesting, my testing showed it should work... I didn't actually test it using WLM; I just used a JScript engine. RE: [REQ] Name Remote by Matti on 10-02-2009 at 04:38 PM
My guess would be that Messenger.MyName doesn't like to be set null when a normal message is received. The regular expression could use some improvement as well. (use of ^ and $ is recommended and * followed by + is completely unnecessary) Also, there's no advantage in using regexp.exec() in this case, so I decided to go with string.match() since it's more common - but that's just a matter of taste. js code:Tested and confirmed to work. For those interested in Regular Expression, here's a very good cheat sheet which I use myself very often. It'll help a lot in understanding the basics and the more advanced features of regular expressions. RE: [REQ] Name Remote by m0nst3rkill3r on 10-02-2009 at 06:39 PM
You're Welcome, between. RE: [REQ] Name Remote by alice.sw on 10-02-2009 at 09:00 PM
Yes, you helped me alot and I'm happy about it and thanks everyone else too. RE: [REQ] Name Remote by matty on 10-02-2009 at 09:19 PM Plus! doesn't have access to the groups. RE: [REQ] Name Remote by m0nst3rkill3r on 10-03-2009 at 10:47 AM
Why not an Array with Some Contacts? RE: RE: [REQ] Name Remote by ArkaneArkade on 10-03-2009 at 12:57 PM
quote: I think if you were to use the array, it would work, but could have a couple of exploits possible. Because OnEvent_ChatWndReceiveMessage will tell you the name of the message sender, not the email address. You could check if the name matches that of any of the email addresses that are allowed to change and then do it, but this will give a false positive if one of your contacts without permission has the same name as one who does. |