| Revision 46,
1.1 KB
checked in by notopic, 16 months ago
(diff) |
|
v1.3
Added readme, separate settings file for TCL script, SQL script, rearranged dir structure
|
| Line | |
|---|
| 1 | # Settings file for QuoteEngine |
|---|
| 2 | # |
|---|
| 3 | # Edit this file and save it as QuoteEngine-settings.tcl in |
|---|
| 4 | # your eggdrop's scripts/ directory |
|---|
| 5 | |
|---|
| 6 | # The mysql hostname to connect to |
|---|
| 7 | set quote_db(host) "localhost" |
|---|
| 8 | |
|---|
| 9 | # The mysql account to connect as |
|---|
| 10 | set quote_db(user) "bot" |
|---|
| 11 | set quote_db(password) "verysecret" |
|---|
| 12 | |
|---|
| 13 | # The name of the database to use |
|---|
| 14 | set quote_db(database) "quotes" |
|---|
| 15 | |
|---|
| 16 | # The URL of the webpage |
|---|
| 17 | # If you're not using it, set this to "" |
|---|
| 18 | set quote_webpage "http://servername/~bot/quotes/" |
|---|
| 19 | |
|---|
| 20 | # automatically spew "relevant" quotes? |
|---|
| 21 | # Done by looking for quotes containing a word someone said in the channel |
|---|
| 22 | # 1 to enable, 0 to disable |
|---|
| 23 | set quote_automatic 1 |
|---|
| 24 | |
|---|
| 25 | # minimum number of seconds between automatic quotes |
|---|
| 26 | # default is 10800 (3 hours) |
|---|
| 27 | set quote_automatic_minimum 10800 |
|---|
| 28 | |
|---|
| 29 | # a user with this flag(s) can't use the script at all |
|---|
| 30 | set quote_noflags "Q|Q" |
|---|
| 31 | |
|---|
| 32 | # maximum number of quotes to show in channel when searching before switching |
|---|
| 33 | # to /msg'ing the user |
|---|
| 34 | set quote_chanmax 5 |
|---|
| 35 | |
|---|
| 36 | # shrink multiple spaces to single spaces when fetching a quote? |
|---|
| 37 | # 0 to disable, 1 to enable |
|---|
| 38 | set quote_shrinkspaces 1 |
|---|
Note: See
TracBrowser
for help on using the repository browser.