What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [HELP] How to make it so that you autoreply to a word in a sentence?

[HELP] How to make it so that you autoreply to a word in a sentence?
Author: Message:
[Shadow]
New Member
*

Avatar
...

Posts: 13
39 / Male / –
Joined: Jun 2006
O.P. [HELP] How to make it so that you autoreply to a word in a sentence?
I mean.. How do you make it so that for instance, if you wanted to auto reply with "Hello." To a message that had several words but "Hi" Somewhere in that sentence, how would you do that? x.x
[Image: DeathxShadow.png]
08-29-2006 02:29 AM
Profile E-Mail PM Find Quote Report
DarkMe
Full Member
***

Avatar
Thx ins4ne for my av :p

Posts: 471
Reputation: 20
32 / Male / –
Joined: Jun 2006
RE: [HELP] How to make it so that you autoreply to a word in a sentence?
Answer Machine Plus :p I guess
http://shoutbox.menthix.net/showthread.php?tid=64534
[Image: darkme.png]
08-29-2006 03:01 AM
Profile E-Mail PM Web Find Quote Report
[Shadow]
New Member
*

Avatar
...

Posts: 13
39 / Male / –
Joined: Jun 2006
O.P. RE: [HELP] How to make it so that you autoreply to a word in a sentence?
Eeh, that helps.. A bit.. But, could you or anyone else just specify what scripting thingie I need to add to get it to detect the word even if it's in a sentence? Thanks.
[Image: DeathxShadow.png]
08-29-2006 09:09 PM
Profile E-Mail PM Find Quote Report
DarkMe
Full Member
***

Avatar
Thx ins4ne for my av :p

Posts: 471
Reputation: 20
32 / Male / –
Joined: Jun 2006
RE: [HELP] How to make it so that you autoreply to a word in a sentence?
quote:
Originally posted by [Shadow]
Eeh, that helps.. A bit.. But, could you or anyone else just specify what scripting thingie I need to add to get it to detect the word even if it's in a sentence? Thanks.
When you add a reply just select:
fragment for only a part of a word
word for all the word
sentence for the entire sentence
http://shoutbox.menthix.net/attachment.php?pid=713370
[Image: darkme.png]
08-29-2006 09:13 PM
Profile E-Mail PM Web Find Quote Report
cloudhunter
Senior Member
****


Posts: 536
Reputation: 18
37 / – / –
Joined: Dec 2005
RE: [HELP] How to make it so that you autoreply to a word in a sentence?
He means the scripting commands. Maybe use a regexp match?

Cloudy
[Image: cloudy.jpg]
Sig by pirateok/marisaok/marisa ;)
quote:
Originally posted by Moulin Rouge
The greatest thing you'll ever learn, is just to love and be loved in return

6910 days, 1 hour, 14 minutes, 44 seconds ago
08-29-2006 09:14 PM
Profile E-Mail PM Find Quote Report
DarkMe
Full Member
***

Avatar
Thx ins4ne for my av :p

Posts: 471
Reputation: 20
32 / Male / –
Joined: Jun 2006
RE: [HELP] How to make it so that you autoreply to a word in a sentence?
Oh :o i haven't noticed that :p sorry
[Image: darkme.png]
08-29-2006 09:16 PM
Profile E-Mail PM Web Find Quote Report
alexp2_ad
Scripting Contest Winner
****

Avatar
Who love the chocolate?

Posts: 691
Reputation: 26
37 / Male / –
Joined: May 2004
Status: Away
RE: [HELP] How to make it so that you autoreply to a word in a sentence?
code:
function OnEvent_ChatWndReceiveMessage(pChatWnd,sOrigin,sMessage,nKind){
    if(sOrigin != Messenger.MyName && sMessage.match(/hi/i)){
        pChatWnd.SendMessage("Hello.");
    }
}

You could also add && (Messenger.MyStatus == 3 || Messenger.MyStatus == 4)   so it'd only reply when you're online or busy.

This post was edited on 08-29-2006 at 09:19 PM by alexp2_ad.
08-29-2006 09:17 PM
Profile E-Mail PM Find Quote Report
[Shadow]
New Member
*

Avatar
...

Posts: 13
39 / Male / –
Joined: Jun 2006
O.P. RE: [HELP] How to make it so that you autoreply to a word in a sentence?
Thanks.
[Image: DeathxShadow.png]
08-29-2006 09:19 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »


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