OnEvent_ChatWndReceiveMessage not passing down results - 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: WLM Plus! Bug Reports (/forumdisplay.php?fid=7) +----- Thread: OnEvent_ChatWndReceiveMessage not passing down results (/showthread.php?tid=78349) OnEvent_ChatWndReceiveMessage not passing down results by segosa on 10-21-2007 at 12:05 PM
If you have two files in two different scripts: code: code: 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. RE: OnEvent_ChatWndReceiveMessage not passing down results by Matti on 10-21-2007 at 03:19 PM Seems quite logical for me, the engine loads the files one by one and overwrites functions. That means that your first function is overwritten by your second. RE: OnEvent_ChatWndReceiveMessage not passing down results by Patchou on 10-21-2007 at 04:46 PM
you're lucky your script loaded at all . RE: OnEvent_ChatWndReceiveMessage not passing down results by -dt- on 10-21-2007 at 10:37 PM
quote: quote: quote: He means file1 is in moo.plsc and file2 is in xxx.plsc RE: OnEvent_ChatWndReceiveMessage not passing down results by Patchou on 10-27-2007 at 08:49 PM
haa... sorry, I misread the post. |