What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » "" return value for event ReceiveMessage

"" return value for event ReceiveMessage
Author: Message:
Mr. Bougo
Junior Member
**


Posts: 51
34 / Male / –
Joined: Jun 2006
O.P. RE: "" return value for event ReceiveMessage
Huh...


It's a simplified script, lol...


It would be useful for ignoring messages, like the /xignore feature in Stuffplug does... But if i return ""; it shows the "Mr. Bougo says:" instead of nothing...


The test script i made was:
code:
OnEvent_ChatWndReceiveMessage(ChatWnd,Origin,MessageMessageKind) {
    Debug.Trace("Message received from " + Origin + ": " + Message)
    return "";
}
(it was only a test script, heh)

And it showed me the "Mr. Bougo says:", and i think it would be better if it showed nothing... Maybe in next release of MP!L :)



EDIT: Upseuf, lets try this...


No, it doesnt work...

I tried null too, and i tried to var temp = new String(); and return temp; and it didnt work, all those tests returns Message like if the script was disabled, but it isnt, and it doesnt bug... Only the return ""; works and it displays "Mr. Bougo says:"


EDIT2: Mathieumg, if MP!L can remove a line in the textbox, i think it can remove the line above too, so maybe Patchou will modify the return function for the ReceiveMessage event :)


EDIT3 (lol that post is getting long): If it can't, I'll wait for Stuffplug 3 release and use ChatWnd.SendMessage("/xignore"); heh, no problem :)

This post was edited on 06-27-2006 at 04:41 PM by Mr. Bougo.
06-27-2006 04:31 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
"" return value for event ReceiveMessage - by Mr. Bougo on 06-27-2006 at 04:22 PM
RE: "" return value for event ReceiveMessage - by mathieumg on 06-27-2006 at 04:26 PM
RE: "" return value for event ReceiveMessage - by upsfeup on 06-27-2006 at 04:27 PM
RE: "" return value for event ReceiveMessage - by Mr. Bougo on 06-27-2006 at 04:31 PM
RE: "" return value for event ReceiveMessage - by matty on 06-27-2006 at 04:47 PM
RE: "" return value for event ReceiveMessage - by Mr. Bougo on 06-27-2006 at 08:05 PM
RE: "" return value for event ReceiveMessage - by Ezra on 06-27-2006 at 08:07 PM
RE: "" return value for event ReceiveMessage - by can16358p on 06-27-2006 at 08:21 PM
RE: "" return value for event ReceiveMessage - by deAd on 06-27-2006 at 08:44 PM
RE: "" return value for event ReceiveMessage - by matty on 06-27-2006 at 08:49 PM
RE: "" return value for event ReceiveMessage - by Mr. Bougo on 06-28-2006 at 04:43 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