What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » WLM Plus! Help » Automessage

Automessage
Author: Message:
Sunshine
Elite Member
*****

Avatar

Posts: 5141
Reputation: 122
– / Female / Flag
Joined: Mar 2004
Status: Away
RE: Automessage
Or you could ask the person who wrote it to put in boxes for putting in other words/sentences and replies.

To have a look at the coding install the script then go to Plus > Preferences > Scripts..select the autohey one and click "edit" button (remember aslong as you don't tell it to save nothin will happen to it..and you'll always have the original plsc to reinstall if need be).


Edit: i had a lil mess about in the script myself to test....

code:
*/   
var hi = 'Hi :)'
var bye = 'laters :wave:'
var on = '1'

i changed the var on hi (wich is what will be answered) and added a var for bye...next:
code:
function OnEvent_ChatWndReceiveMessage(ChatWnd,Origin, Message, MessageKind)
{
if (on == '1'){
if (Origin != Messenger.MyName){

if (Message.match(/(^|\s+)(\*)?hello(d|s)?(\*)?($|\s+)/i)!=null)
{
ChatWnd.SendMessage(hi);

Those lines set what it should answer on...so to that i added (after the list of hi and before the closing }
code:
if (Message.match(/(^|\s+)(\*)?bye(d|s)?(\*)?($|\s+)/i)!=null)
{
ChatWnd.SendMessage(bye);
}
if (Message.match(/(^|\s+)(\*)?laters(d|s)?(\*)?($|\s+)/i)!=null)
{
ChatWnd.SendMessage(bye);
}
if (Message.match(/(^|\s+)(\*)?cya(d|s)?(\*)?($|\s+)/i)!=null)
{
ChatWnd.SendMessage(bye);
}
if (Message.match(/(^|\s+)(\*)?cu(d|s)?(\*)?($|\s+)/i)!=null)
{
ChatWnd.SendMessage(bye);
}

End result: a hey script that answers on hi and bye....

Edit 2: I'm sorry but at the moment i don't know of any better than doing it this way. Maybe a scripter finds him/herself challenged to code a full autoresponder script (bot?) with windows to put in sentence and reply to sentence (like a Q and A).

This post was edited on 08-13-2006 at 04:24 PM by Sunshine.
[Image: 25dr3o9]
08-13-2006 02:44 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Automessage - by malone on 08-13-2006 at 02:19 PM
RE: Automessage - by Sunshine on 08-13-2006 at 02:24 PM
RE: Automessage - by malone on 08-13-2006 at 02:26 PM
RE: Automessage - by Sunshine on 08-13-2006 at 02:36 PM
RE: Automessage - by malone on 08-13-2006 at 02:37 PM
RE: Automessage - by Sunshine on 08-13-2006 at 02:44 PM
RE: Automessage - by Sunshine on 08-14-2006 at 07:21 PM
RE: Automessage - by malone on 08-14-2006 at 10:32 PM
RE: Automessage - by vaccination on 08-14-2006 at 10:59 PM
RE: Automessage - by malone on 08-14-2006 at 11:03 PM
RE: Automessage - by vaccination on 08-14-2006 at 11:07 PM
RE: Automessage - by malone on 08-14-2006 at 11:08 PM
RE: Automessage - by vaccination on 08-14-2006 at 11:15 PM
RE: Automessage - by malone on 08-14-2006 at 11:17 PM
RE: Automessage - by vaccination on 08-14-2006 at 11:18 PM
RE: Automessage - by malone on 08-14-2006 at 11:27 PM
RE: Automessage - by vaccination on 08-14-2006 at 11:32 PM
RE: Automessage - by malone on 08-14-2006 at 11:36 PM
RE: Automessage - by vaccination on 08-14-2006 at 11:39 PM
RE: Automessage - by malone on 08-14-2006 at 11:39 PM
RE: Automessage - by vaccination on 08-14-2006 at 11:41 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