I need some help setting up the mailbot script (click me).
I unpacked mailbot-1.01.tar.gz into eggdrop/scripts and edited the conf file.
I also did this:
Edit the eggdrop configuration file for your bot: include the sqlite module and the script:
#
# Load the sqlite TCL bindings module.
# N.B. Read the 'Installation of Prerequisites' step above in detail,
# if you encounter errors when executing this line.
#
load libtclsqlite3.so
#
# Include the tcllib prerequisites.
# If you have the Tcllib normally installed, you may replace
# these with 'package require' lines instead, like so:
#
# package require aes
# package require base64
# package require crc
#
# Though, source lines work just as well
# Just be sure to adjust the paths to suit your system.
#
source tcllib1.10/aes/aes.tcl
source tcllib1.10/base64/base64.tcl
source tcllib1.10/crc/crc32.tcl
#
# Finally, include the mailbot script.
# N.B. The scripts/ subdirectory is relative to your location
# of your eggdrop binary.
#
source scripts/mailbot-1.0/mailbot.tcl
Now, if I want to start the bot, I only get
[15:15] Tcl error in file 'eggdrop.conf':
[15:15] couldn't load file "libtclsqlite3.so": libtclsqlite3.so: cannot open shared object file: No such file or directory
while executing
"load libtclsqlite3.so"
(file "eggdrop.conf" line 181)
[15:15] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
Connection closed by foreign host.
@Sir_Fz:
In this case, it's not an eggdrop-module, but a native tcl-module.
@Astur:
It is preferrable to use a full or relative path with load, rather than just using the filename (in the latter case, the paths in tcl_libPath are searched for the library file). Try altering
to my also it happened to me the same, and it was because I do not have activated mysql in my shell probably your you do not count on mysql activated in your shell. if nonaccounts with mysql in your shell, you must request this service to your supplier, normally the prices varies from $1 to monthly 2$.