===================================================================
 Licq Auto Replyer ElizaTalk v0.4, using splotch.c by Duane Fields

 24/10/2000 C}{0JiN (chojin@users.sourceforge.net, UIN:1917018)
 Elizatalk Homepage: http://elizatalk.sourceforge.net
===================================================================

Table of Contents:
------------------
1a) Configuration source code
 b) Configuration binary
2a) Compilation and Installation sourcecode
 b) Installation binary
3) Configuration of Autoreply v1.0 or higher
4a) Removal of Elizatalk sourcecode release
 b) Removal of Elizatalk binary release

Since you have to configure this program BEFORE compilation I will
start with the configuration section.
The binary release can not be configured nor compiled again so you 
can skip to step 1b. 
(I know it is messy but I will fix it soon)
===================================================================
1a) Configuration source code
===================================================================
There is more to configure on this program than listed but here are 
the only the things you actually need as end-user:
= In the splotch.c file: =
- Name of Eliza: the best thing to do is entering your ICQ nick
                 here since Eliza is talking in your name.
  ex: #define NAME "Chojin"

That's it for the splotch.c file

= In the elizatalk.c file: =
- Include quoted message: Fill in 1 for yes and 0 for no.
                          This option will wheter or not send
			  the original message as qouted text
			  together with the response of Eliza.
  ex: #define QUOTED 0 # don't send quoted reply
- Answering Delay: Here you can set a delay to the answers of 
		   Eliza so it will look more realistic. The 
		   delay is in seconds, set to 0 for no delay.
  ex: #define REPLYDELAY 5 # delay for 5 seconds before sending reply

That's everything you need to configure. Now we can continue with
the installation procedure described in step 2a.
===================================================================
1b) Configuration binary
===================================================================
The binary can not be configured yet. I know it sucks, but I will 
work on it. This binary is compiled with the following 
configuration:
- Name of Eliza: Eliza
- Name of dictionary file: /usr/share/elizatalk/main.dict
- Name of synonyms file: /usr/share/elizatalk/syn.dict
- Name of words directory: /usr/share/elizatalk/words
- Include quoted message: No.
- Reply delay: 5 seconds

After knowing this, you can proceed the installation by going to
step 2b.
===================================================================
2a) Compilation and Installation
===================================================================
After configuring the .c files you can configure the Makefile.
Open it and look if you need anything to be changed for you system.
WARNING: when you change the INSTALLDIRDICT variable you also have to 
         change the DICTFILE, SYNFILE and WORDSDIR variables in 
	 splotch.c!!
When done type: 
make install 
to compile and install elizatalk. Ignore any warnings, they are from the
splotch.c file wich I didn't write...;)

This wasn't the hard job, was it?
Then we can start configuring the autoreply plugin of Licq in step 3.
===================================================================
2b) Installation Binary
===================================================================
Since the sourcecode has automated install through the Makefile I
made a script install-elizatalk wich will install elizatalk after 
execution.So type:
./install-elizatalk

This wasn't the hard job, was it?
Then we can start configuring the autoreply plugin of Licq:
===================================================================
3) Configuration of Autoreply v1.0 or higher
===================================================================
Look for the ~/.licq/licq_autoreply.conf:
(if you don't have this file you will have to install the autoreply
plugin v1.0 or higher (v1.0 is shipped with licq 1.0, previous versions
of Licq contain an older version of the autoreply plugin wich is useless 
for this application) or you wil have to reread the installation 
instructions of the autoreply plugin)
Edit the .conf file and:
Fill in the path to elizatalk:
ex.: Program = /usr/bin/elizatalk
The arguments of the program:
Arguments = '%a'
Turn on the PassMessage flag otherwise eliza doesn't know what has been 
said:
PassMessage = 1

Then when you are tired of elizatalk you can easily uninstall it:
===================================================================
4a) Removal of Elizatalk sourcecode release
===================================================================
I added a Makefile section uninstall so you can type
make uninstall
and the elizatalk binary, including the dictionary files will be
removed again.

===================================================================
4b) Removal of Elizatalk binary release
===================================================================
Here I also didn't forget those who need the binary: I made a script
uninstall-elizatalk wich will remove the elizatalk binary, including 
the dictionary files again. So type:
./uninstall-elizatalk

===================================================================
And that's about it. Ofcourse if you have any comments/requests and or 
bug reports/fixes, don't hesistate and visit http://elizatalk.sourceforge.net
for details.