############################################################################
# JeggLink V1.2                          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 : main part of the applet
-About.class : the about frame
-titleC.class : the class that deal with the title
-title.gif : a 650 * 50 image for the title
-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", "About.class", "titleC.class" , " title.gif" and "JeggLink.html" to the directory you  set in "JeggLink.html" (be sure to do "chmod a+r *")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 JeggLink.class, About.class, titleC.class and title.gif files 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 log into the bot 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>
click on a nick in the list to get a whois of this person

--Commands from the channel
--Or by messaging the bot
-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
!ban <user>(web) : this command places the user on ignore from the bot for 60 minutes , if you plan to use it, please read the eggdrops doc about "ignores"
!banlist : return the ignore list of the bot 
!uban <host> : unban a host

EDITING THE TITLE.GIF FILE
Feel free to edit the title.gif file to your needs, notes that
-the picture must be a 650*25 pixels gif
-the topic will be displayed from 10th to 500th pixels
-the topic text is white, so choose a dark background 

THIS SOFTWARE IS ABSOLUTLY FREE
If you want me to link your JeggLink page mail me the URL, the Channel name, the channel default topic and the Network where is the channel.

That's It

Pierre-Mikael Legris
plegris@fbwww.epfl.ch










