# MyQuote v2.0 by fragp <jb@fragp.com>
#
# [12 Jan 2005] ----    initial release
# [04 Feb 2005] v2.0    completed rewrite, ready to release
#                       added: multichannel-support, quoterating,
#                              quotestats per chan and global, etc.
#
#
# --------------------------------------------------------------------
# Install
# --------------------------------------------------------------------
# - import mysql-dump "myquote.sql"
# - change the database-settings below
# - ".chanset #yourchannel +myquote"
# - ".addquote" in #yourchannel to initialize channel
#   (chan_autoadd may be enabled, else you have to initialize
#    the channel yourself in the database)
# 
# 
# --------------------------------------------------------------------
# Usage
# --------------------------------------------------------------------
# quote [-gid] <id>              -q-  Displays a (global-)quote
# quote [-g]                     
# quote [-gc #chan]
# lastquote [-g]                 -ql- Shows the last added quote
#
# addquote <string>              -qa- Adds a quote
# delquote [-gid] <id>           -qd- Deletes a quote
# quoterate [-gid] <id> <+/++>   -qr- Rates a quote
# quoteinfo [-gid] <id>          -qi- Displays quoteinfos
# quotestats [-t]                -qs- Shows how many quotes there are
# quotehelp                      -qh- guess ...
#
# --------------------------------------------------------------------
# Notes
# --------------------------------------------------------------------
# - tested with eggdrop 1.6.17, MySQL 4.1.8, tcl 8.4, and mysqltcl 3.0
# - bugs/comments go out to jb@fragp.com
# - there's no more php-script to present the quotes, yet
# - get the latest version of this script on http://www.fragp.com/
#
#
# --------------------------------------------------------------------
# Credits for mortician
# --------------------------------------------------------------------
# MyQuote v1.0 - v1.4 by mortician
# <http://www.mortician.tk/> <mortician@linux.be>
#
# 01 Mar 2003  v1.0  - Initial release
# 08 Apr 2003  v1.1  - small fix in the php file
# 17 May 2003  v1.2  - php extended by Win a 2
#                    - small fix in the tcl
# 22 May 2003  v1.3  - not longer using the FastBase SQL interface
#                      using Mysqltcl now
# 03 Sep 2003  v1.4  - extra options added to read/delete quotes
#                    - php file extended:
#                       * separated code (php) from design (html)
#                       * more extra info viewable
#                       * id's displayed and <a name=""> tags added
