What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » WLM Plus! Bug Reports » OnEvent_ChatWndReceiveMessage not passing down results

OnEvent_ChatWndReceiveMessage not passing down results
Author: Message:
segosa
Community's Choice
*****


Posts: 1407
Reputation: 92
Joined: Feb 2003
O.P. OnEvent_ChatWndReceiveMessage not passing down results
If you have two files in two different scripts:

code:
function OnEvent_ChatWndReceiveMessage(...)
{
  return "Hello ";
}


code:
function OnEvent_ChatWndReceiveMessage(...)
{
  return Message + " bye";
}


where the first file appears higher up in the list of scripts than the second (due to having a name which would appear higher in alphabetical order), the return value of the first will be ignored, and the message returned to the conversation window will be the original message + " bye" instead of "Hello bye".

It doesn't pass down the returns, meaning scripts that may return the passed message (e.g., Linked Chats), that appear further down alphabetically, will be overriding all the things returned by previous scripts in that function.

This post was edited on 10-21-2007 at 12:15 PM by segosa.
The previous sentence is false. The following sentence is true.
10-21-2007 12:05 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
OnEvent_ChatWndReceiveMessage not passing down results - by segosa on 10-21-2007 at 12:05 PM
RE: OnEvent_ChatWndReceiveMessage not passing down results - by Matti on 10-21-2007 at 03:19 PM
RE: OnEvent_ChatWndReceiveMessage not passing down results - by Patchou on 10-21-2007 at 04:46 PM
RE: OnEvent_ChatWndReceiveMessage not passing down results - by -dt- on 10-21-2007 at 10:37 PM
RE: OnEvent_ChatWndReceiveMessage not passing down results - by Patchou on 10-27-2007 at 08:49 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