Reply to any message - 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: Reply to any message (/showthread.php?tid=93109) Reply to any message by SourSpud on 12-03-2009 at 05:59 AM
I would like to reply to any message sent, for instance someone opens a conversation with me and types 'hey, staturday was fun.' I will reply with 'hai' but as soon as ive replied with hai i don't want to reply with 'hai' again after the next message is received so it doesn't loop. RE: Reply to any message by matty on 12-03-2009 at 12:47 PM
You can't really detect who sent the first message. RE: Reply to any message by Spunky on 12-03-2009 at 12:51 PM
quote: Although if you script it right, it'll send "Hai" before your first message to them anyway. So you'll always say "hai" then your message, or the send something and then you send "hai" after it. RE: Reply to any message by matty on 12-03-2009 at 02:09 PM
The problem is he wants it to reply to the first message they send ONLY if the window wasn't open before. js code: Untested code but give it a shot. RE: Reply to any message by SourSpud on 12-03-2009 at 07:31 PM
tested seems to be working well thanks alot matty. Should have mentioned this earlyer, can it do a ranomise message say hi, hai, hello, hey. it will pick one of those. RE: Reply to any message by Spunky on 12-03-2009 at 08:36 PM
Add this to the start of the script js code: and change this line: js code: to this: js code: Haven't tested, but that should work RE: Reply to any message by SourSpud on 12-03-2009 at 09:05 PM
thanks for reply, i'm gettin this error jscript code: quote: RE: Reply to any message by Mnjul on 12-03-2009 at 09:26 PM
Change jscript code:to jscript code:(note the extra right paren) RE: Reply to any message by SourSpud on 12-03-2009 at 09:33 PM thanks it works now my messages are in colour though. for example [c=49]Hai[/c] is there a way of the script checking if the person has Plus! installed before sending the message, and if its not installed don't send it. RE: Reply to any message by Spunky on 12-03-2009 at 09:36 PM
Not really. The only way you can tell is by sending /ping... If you get a response they definitely have MP!L. If not they either don't have it, or have disabled the ping response. RE: Reply to any message by SourSpud on 12-03-2009 at 09:42 PM
Thanks for the replys guys, yeah that would get abit annoying me sending a ping request to them all the time. RE: Reply to any message by matty on 12-03-2009 at 10:06 PM
quote:DisplayToast cannot be made to look like the WLM toasts. And to make your own is not so easy said as done. |