What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Reply to any message

Reply to any message
Author: Message:
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: Reply to any message
Add this to the start of the script

Javascript code:
var messages = new Array("Hi", "Hai", "Hello", "Hey");


and change this line:

Javascript code:
oChatWnd.SendMessage('hai');


to this:

Javascript code:
oChatWnd.SendMessage(messages[Math.floor(Math.random()*(messages.length+1)])



Haven't tested, but that should work

This post was edited on 12-03-2009 at 09:36 PM by Spunky.
<Eljay> "Problems encountered: shit blew up" :zippy:
12-03-2009 08:36 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Reply to any message - by SourSpud on 12-03-2009 at 05:59 AM
RE: Reply to any message - by matty on 12-03-2009 at 12:47 PM
RE: Reply to any message - by Spunky on 12-03-2009 at 12:51 PM
RE: Reply to any message - by matty on 12-03-2009 at 02:09 PM
RE: Reply to any message - by SourSpud on 12-03-2009 at 07:31 PM
RE: Reply to any message - by Spunky on 12-03-2009 at 08:36 PM
RE: Reply to any message - by SourSpud on 12-03-2009 at 09:05 PM
RE: Reply to any message - by Mnjul on 12-03-2009 at 09:26 PM
RE: Reply to any message - by SourSpud on 12-03-2009 at 09:33 PM
RE: Reply to any message - by Spunky on 12-03-2009 at 09:36 PM
RE: Reply to any message - by SourSpud on 12-03-2009 at 09:42 PM
RE: Reply to any message - by matty on 12-03-2009 at 10:06 PM


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