QuoteEngine-settings.sample.tcl 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. #### MYSQL ONLY SETTINGS
  6. # The mysql hostname to connect to
  7. set quote_db(host) "127.0.0.1"
  8. # The mysql account to connect as
  9. set quote_db(user) "<botnick>"
  10. set quote_db(password) "<botpwhere>"
  11. # The name of the database to use
  12. set quote_db(database) "quotesdb"
  13. # The URL of the webpage
  14. # If you're not using it, set this to ""
  15. set quote_webpage "http://servername/~bot/quotes/"
  16. #### END MYSQL ONLY SETTINGS
  17. #### SQLITE ONLY SETTINGS
  18. # The filename to store quotes in
  19. # Note: relative to the working dir of your bot (probably the eggdrop/
  20. # directory)
  21. set quote_db_file "quotes.db"
  22. #### END SQLITE ONLY SETTINGS
  23. # automatically spew "relevant" quotes?
  24. # Done by looking for quotes containing a word someone said in the channel
  25. # 1 to enable, 0 to disable
  26. set quote_automatic 1
  27. # minimum number of seconds between automatic quotes
  28. # default is 10800 (3 hours)
  29. set quote_automatic_minimum 10800
  30. # a user with this flag(s) can't use the script at all
  31. set quote_noflags "Q|Q"
  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. # shrink multiple spaces to single spaces when fetching a quote?
  36. # 0 to disable, 1 to enable
  37. set quote_shrinkspaces 1