What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Origin and Messenger.MyName...

Origin and Messenger.MyName...
Author: Message:
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
RE: Origin and Messenger.MyName...
quote:
Originally posted by foaly
Shouldn't you return sMessage anyway?
Now you only do it when you sent the message yourself....
According to CookieRevised's reply to Gettin data from "/" commands, both are just fine. Returning void, zero or the original message all produce the same result. It just depends what the developer prefers to use. ;)

A small note: matty's code implies that you don't do anything else in OnEvent_ChatWndDestroyed. If you need to add code in that event that shouldn't be ran when a message is received, simply replace the call to the destroyed event with the line in the body of that event.
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
03-12-2011 11:08 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Origin and Messenger.MyName... - by whiz on 03-12-2011 at 01:39 PM
RE: Origin and Messenger.MyName... - by Mnjul on 03-12-2011 at 02:11 PM
RE: Origin and Messenger.MyName... - by matty on 03-12-2011 at 08:36 PM
RE: Origin and Messenger.MyName... - by foaly on 03-12-2011 at 08:47 PM
RE: Origin and Messenger.MyName... - by Matti on 03-12-2011 at 11:08 PM
RE: Origin and Messenger.MyName... - by matty on 03-13-2011 at 12:35 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