Welcome to the QuoteEngine

Homepage: http://www.jamesoff.net/go/quoteengine

This script was written initally in an hour (see http://www.grooblehonk.co.uk/index.php?p=83&more=1&c=1). It only had the addquote command, and it took me a while to add any more.
It is designed to be quick and easy to use, and will gain more customisability soon. Feel free to customise it at the moment, but you may need some TCL "skillz".Ok, here we go:

On with the show:

YOU WILL NEED:

- TCL8.3 or higher (probably)
- mysqltcl 2.12 or higher
    http://www.xdobry.de/mysqltcl/
- a configured and working eggdrop

METHOD:

- create a user/database on your mySQL server if required
- create the following table on it:

CREATE TABLE quotes (
  id bigint(20) NOT NULL auto_increment,
  nick varchar(20) DEFAULT '' NOT NULL,
  host varchar(100) DEFAULT '' NOT NULL,
  quote varchar(255) DEFAULT '' NOT NULL,
  channel varchar(50) DEFAULT '' NOT NULL,
  timestamp bigint(20),
  PRIMARY KEY (id)
);

<optional>
- put the PHP script and stylesheet somewhere on a webserver
- edit the script and examine any lines that say CHANGE ME
   * change the mysql connection strings
   * change the default channel to display
   * change the page title cos it currently says "NoTopic"
</optional>

- put QuoteEngine.tcl in your bot's scripts directory
- edit the script and examine any lines that say CHANGE ME
   * the line that loads the mysqltcl library (NoTopic's server has a hosed 
     setup so I have the full path in there) or uncomment the package line
     INSTEAD
   * the database connection line: put in your server and login details
   * the URL to the php script (use blank if you're not using it)
   * change the bind commands to adjust the permissions needed to use the 
     script if you want
- put "source scripts/QuoteEngine.tcl" in your bot's config and rehash
- try "!quotehelp" in a channel where you have the suitable permission

For support please try #bmotion on EFNet, or email james@jamesoff.net

James "Off" Seward
27/07/2003