Script Name:
LegoMan's Quote Database Script
Version: 1.2.0
Author: LegoMan
Script Date: 08/07/2007
Category: Quote Scripts
Downloads: 105
File Name:
legomans_quotescript_v1.2.0.zip
Short Description:
A simple script to allow people to save and recall quotes on configured channels the bot is on.
Extended Description File
LegoMan's Quote Database Script for Eggdrop
-------------------------------------------
This is a fairly simple script for implementing a quote database for
the channels your eggdrop has access on. It allows users who have
sufficient access (which you set in the configuration) to add and
display quotes in the channels you set it up to work in.
It's a great way to add a bit of fun to your channels by taking
things people say out of context and playing them back for others
to see later. You can play back a random quote with !q or get a
more specific random quote by specifying a search string
with !q [searchstring].
Quotes are added with the !addq <quote> command.
There are also partyline commands you may access while dccing the
bot for listing quotes that are stored, and for removing quotes.
I've tried to keep everything as simple as possible...
The configuration for the script is contained at the beginning of
the script's tcl file. The script will run directly out of the box
with very little modification, but if you wish to change the flags
required by users on the channels to restrict access to the channel
and partyline functions, you may do so.
Setup:
------
It takes very little to set up the quotescript.
First extract legomans_quotescript_v1.2.0.zip to your eggdrop's
scripts/ directory.
Add a line to the bottom of your eggdrop.conf file:
source scripts/legomans_quotescript_v1.2.0.tcl
Save your eggdrop.conf configuration.
Open legomans_quotescript_v1.2.0.tcl and edit the configuration
settings at the top of the file. At the very least you must
specify what channels you want the quotescript to operate on.
You can also change the permissions required to use certain
commands added by the script, and change the place where the
uote database is saved.
Once the configuration is set up the way you want it, save the
legomans_quotescript_v1.2.0.tcl file.
If your bot is already running, you can activate the script by
simply rehashing the bot.
Type on the partyline or in a telnet connection to the bot:
.rehash
If your bot isn't running, simply start it, and it will be running
the quotescript! You can type .helpqs on the partyline at any
time to see a list of help topics.
Bugs:
-----
If you find any bugs or are having any trouble with the script,
please feel free to email me at:
quotescript@legoman.phpnet.us
Please include a detailed description of the problem.
Thanks:
-------
I'd like to thank SUNiNET for giving me a place to start when it
comes to tcl scripting. Also, Omfg of #Chatzone on Undernet running
previous versions of the script and serving as a guinea pig for
testing. And lastly, I'd like to thank whoever wrote the
quotescript that Omfg was running before mine for giving me a reason
to write a better one. ;)
Peace,
LegoMan