############################################################################
# JeggLink V1.1                          Pierre-Mikael Legris  Jan 16 1998 #
# JeggLink Home Page : http://fbwww.epfl.ch/~plegris/Jegg                  #
############################################################################

JeggLink stands for Java-Eggdrop-Link

-If you don't know what's an eggdrop then don't go further this program 
is not for you.. Sowy !

-Technically: JeggLink is a java applet that telnet the port of an eggdrop
and create a web <-> IRC channel Relay.

-Technical needs: AN EGGDROP (mine is a v1.0p I dunno if it works for others),
A WEB SITE ON THE SAME COMPUTER THAN THE EGGDROP IS RUNNING (for security 
reasons a Java applet won't connect on another computer than the one where it
comes from).(you also need a java complient browser but I'm sure you have one) 

FILES:
-This File comes with those files JeggLink.html, JeggLink.class, JeggLink.tcl
README, README.html, JeggPass.class and JeggPass.html .

-JeggLink.html : an example of html page that call the java applet
-JeggLink.class : The applet
-JeggLink.tcl : the tcl scripts that must be installed on the bot
-README : this file
-JeggPass.class : the applet that create passwords for JeggLink
-JeggPass.html : the html that call JeggPass.class (+ howto set a password)

INSTALL:
1-Open "JeggPass.html" in a Java complient browser and folow the instructions
2-Edit the "JeggLink.tcl" file change what you need.
3-Move the eddited JeggLink.tcl in your bot's scripts directory
4-Edit your bot's configuration file and at the end of it add :
source scripts/JeggLink.tcl
5-launch your bot (be sure to see "JeggLink.tcl loaded" when it starts) If you
don't you missed something on step 3 or 4
6-Normaly you already edited JeggLink.html on step (1) If you didn't look at
"JeggPass.html" to see what to do.
7-Move "JeggPass.class" and "JeggLink.html" to the directory you 
set in "JeggLink.html" (be sure to do "chmod a+r JeggLink.*")in this directory
8-Ok now try to load JeggLink.html on your browser from the internet

Note that "JeggLink.html" can be moved anywhere even on other web sites if it's
correctly eddited, but the JeggPass.class file MUST be on the computer where
is the eggdrop!

--Trouble shooting:  If it doesn't connect 
-at the first load, try a SHIFT-RELOAD this should work.
-verify your passwords are correct on both side (bot and JeggLink.html).
-verify that the bot's port# you set is correct.
-try connecting to the bot using: telnet localhost <port #> , 
 with the username = "www" and with the not encoded password 
 if it doesn't work the you missed something of the on the 1st step

-other reason (bad)
when the applet enter It waits for the ligne "Please enter"
to enter his nickname : www
Then It waits for the ligne "Enter your"
to send the password
If your bot doesn't display those messages at the login then
mail me what your bot says, and I'll update the applet

--Commands from the JeggLink
/me <action>
/nick <newnick>

--Commands from the channel
-they are only two (for now)
!who  : will gives you the users actually connected.
!k <user>(web) <reason> : will kick this user from the applet

There is no ban command yet If you need to ban someone just go to the
bot and ignore his host


That's It

Pierre-Mikael Legris
plegris@fbwww.epfl.ch










