"" return value for event ReceiveMessage - 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: "" return value for event ReceiveMessage (/showthread.php?tid=61756) "" return value for event ReceiveMessage by Mr. Bougo on 06-27-2006 at 04:22 PM
When you do something like that: code: It does quote: It would be better if it didnt display any message, nope? RE: "" return value for event ReceiveMessage by mathieumg on 06-27-2006 at 04:26 PM
quote: All of this because Plus! intercepts the message in the chat window itself, not before. RE: "" return value for event ReceiveMessage by upsfeup on 06-27-2006 at 04:27 PM
Yes.. it would.. RE: "" return value for event ReceiveMessage by Mr. Bougo on 06-27-2006 at 04:31 PM
Huh... code:(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 RE: "" return value for event ReceiveMessage by matty on 06-27-2006 at 04:47 PM
Don't return "": code: RE: "" return value for event ReceiveMessage by Mr. Bougo on 06-27-2006 at 08:05 PM Tried it too, doest work RE: "" return value for event ReceiveMessage by Ezra on 06-27-2006 at 08:07 PM Because it only changes the message, so the username says: part stays unchanged RE: "" return value for event ReceiveMessage by can16358p on 06-27-2006 at 08:21 PM Just as idea, I'm not sure if that's readonly or not, but if not, try changing the message kind and see what happens. RE: "" return value for event ReceiveMessage by deAd on 06-27-2006 at 08:44 PM You can't change the message kind... RE: "" return value for event ReceiveMessage by matty on 06-27-2006 at 08:49 PM
Wait I think your using the wrong function... RE: "" return value for event ReceiveMessage by Mr. Bougo on 06-28-2006 at 04:43 AM
Huh Matty, who are you talking to? |