AutoAnswer - Messenger Plus! Live Script

Suggestions for changes to this script are most welcome. Please email me at davidn@radsoft.com.au.
Please remember also that I work full time and I might not be able to fulfill all requests.

See also below for planned improvements

Brief description: 

Provides automated responses to phrases that you configure in AutoAnswer.INI. The NickNames entry in the INI file
determines which nicknames are responded to. The [Rules] section determines which phrases will trigger a response.
Each [ResponsesXXX] section (where XXX corresponds to the entry in [Rules]) can have one or more response. If there
is more than one response, one is chosen at random. Each rule can be separated by the pipe character: |
If more than one rule matches the message, a response from each response section is sent, concatenated on the same
line, eg:

[Rules]
001=hello|hi
002=how are you

[Responses001]
001=hello :-)

[Responses002]
001=I am good thanks.. you?

If the message is: hello, how are you
The response will be: hello :-). I am good thanks.. you?

Refer to the INI file supplied for examples.

AutoAnswer fakes that the user is typing by finding the edit box of the target chat window, setting it as the 
focused window, and sending a couple of keystrokes to it. The object is to make the user at the other end think
that someone is actually typing the automated responses. If you are clever enough, you could be out and the other
user would never know. 

Requires AutoAnswer.DLL (included), which has the code for parsing the message received, and for determining a response
AutoAnswer.DLL was written in CodeGear's (owned by Borland) Delphi 2007 - http://www.codegear.com/delphi


Planned improvements:

* Configuration window

It sorely needs one. I'd rather use Messenger Plus! Live's inbuilt windowing support, however I haven't had time
to learn to use it. Anyone is welcome to help out here, and I'll include it.

* Excluding some replies from nominated contacts

* Easy switch on/off

* More intelligent conversation engine

I'm considering finding an "Eliza" type of engine to use with this.


About me:

I am a programmer by profession, and work mostly with CodeGear's Delphi, which explains why I wrote the DLL with that.
I am also a member of CodeGear's TeamB, a volunteer support group that are recognised experts that answer questions 
for peer developers on CodeGear's newsgroups.

I live in Adelaide, South Australia
