Detect receiving sound on ChatWndReceiveMessage - 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: Detect receiving sound on ChatWndReceiveMessage (/showthread.php?tid=97877) Detect receiving sound on ChatWndReceiveMessage by Alfredao on 06-26-2011 at 07:09 AM
Hello, I never did a script for MsgPlus. js code: If I receive a message with "Wooooow" I will answer with af automatically but it isn't working when i receive a /swoow. Someone can help-me? Thanks and sorry for bad english. RE: Detect receiving sound on ChatWndReceiveMessage by Spunky on 06-26-2011 at 09:29 AM
Not to sure but is the Wooooow in a certain colour? js code: That will remove the colour codes before doing the search. It'll also make it all lower case just incase the capitalization is different RE: Detect receiving sound on ChatWndReceiveMessage by Alfredao on 06-26-2011 at 10:46 AM
Not working. js code: Nothing happens when I send /swoow or another sound. I think its because the sounds. RE: RE: Detect receiving sound on ChatWndReceiveMessage by CookieRevised on 06-26-2011 at 01:34 PM
quote:Do not use such code. It will trigger an infinate loop if it wasn't for the build-in flood checker! If you want to output the message to check it, you should use the debug window: js code: However, the sounds (both the build-in ones and custom sounds) will not trigger the ChatWndReceiveMessage event. In other words, you can not do want you want. RE: Detect receiving sound on ChatWndReceiveMessage by Alfredao on 06-27-2011 at 02:46 AM Alright, thanks. |