
What is a module?
Modules are pieces of code programmed in C and can provide extra functions for your eggdrops, stats, seen, functions etc.
Your eggdrop will come with some preinstalled modules that you will be able to see in the config are loaded by the command loadmodule ModuleName.
Modules will generally run quicker then tcl scripts as they are already compiled but they are harder to install as your bot will most likely need to be recompiled for each module, wheras you can
load a tcl on the fly and just rehash/restart the bot.
Where to get modules from?
To see a list of popular modules and a brief description, visit our module download page by clicking below.
How to load a module?
We assume that you have already downloaded the source for your eggdrop
(eggdrop1.6.19.tar.gz etc..) and unzipped it on your shell. If not do this before you continue
wget ftp://ftp.eggheads.org/pub/eggdrop/source/1.6/eggdrop1.6.19.tar.gz tar -zxvf eggdrop1.6.19.tar.gz
Download a module - one from below or another from the internet.
Stats Module
or
gseen Module
Use wget from your shell url or an ftp client like FileZilla to upload these files to your shell.
For the purpose of this help snippet we will concentrate mainly on the stats module and assume your eggdrop source directory is eggdrop1.6.19
Upload or move your module stats.mod.1.3.3.dev1.tar.gz to the directory ~/eggdrop1.6.19/src/mod/ in your shell.
Move to the directory eggdrop1.6.19/src/mod/ on your shell and unzip the stats module.
[ghost@localhost:~/eggdrop1.6.19/src/mod] wget http://www.kreativrauschen.com/stats.mod/download/stats.mod.1.3.3.dev1.tar.gz [ghost@localhost:~/eggdrop1.6.19/src/mod] tar -zxvf stats.mod.1.3.3.dev1.tar.gz (tar -zxvf gseen.mod.1.1.0.tar.gz)
Move back to the eggdrop1.6.19 and compile your bot as usual:
./configure make config make make install DEST=~/BotDirectory
Important:
Stats module files:
[ghost@localhost:~/eggdrop1.6.19/src/mod/stats.mod] ls Makefile dcccmds.c pubcmds.c stats.conf user.c README help sensors.c stats.ger.lang userrec.c UPDATES livestats.c slang.c stats.h webfiles.c bar.gif misc.c slang.h stats.lang datahandling.c msgcmds.c stats.c tclstats.c [ghostn@localhost:~/eggdrop1.6.19/src/mod/stats.mod]
Gseen module files:
[ghost@localhost:~/eggdrop1.6.19/src/mod/gseen.mod] ls Makefile gseen.c sensors.c README gseen.conf slang.c UPDATES gseen.de.lang slang_chanlang.c addons gseen.en.lang slang_duration.c ai.c gseen.h slang_gseen_commands.c datahandling.c gseencmds.c slang_ids.c do_seen.c misc.c slang_multitext.c generic_binary_tree.c seenlang.h slang_text.c global_vars.c seentree.c tclcmds.c [ghost@localhost:~/eggdrop1.6.19/src/mod/gseen.mod]
With BOTH modules (stats & gseen) you must remember to copy the language files from ~/eggdrop1.6.19/src/mod/stats.mod/ (~/eggdrop1.6.19/src/mod/gseen.mod/) to
~/BotDirectory/language/ !
Also do not forget to copy the conf (gseen.conf / stats.conf) files to your ~/BotDirectory.
For stats.mod - stats.conf, stats.lang, stats.ger.lang
For gseen.mod - gseen.conf, gseen.de.lang, gseen.en.lang
This completes the installation of a new module.
You now need to add a line to your eggdrop.conf
source stats.conf (source gseen.conf)
Following these measures you can start your bot ./eggdrop eggdrop.conf
You should also note that not all modules come with a .conf file and therefore you will need to load the module from your
eggdrop.conf file by including the following line. Both stats and gseen have this line in their respective stats.conf and gseen.conf file which
you will have loaded.
loadmodule ModuleName
Best of luck.
| Home, Tcl Tutorial, Tcl/Tk Installation, Modules, Tcl Scripts, Misc Downloads, Bot Commands, |
| Help/FAQ, Unix Commands, Message Commands, Shell Info/Reviews, About, Contact, Links. Nano & Pico. |
| Bnc's, Config Generator, OnJoin/Greet Generator, Identification Generator, Botnet creation & userfile sharing |
|
IPV6,
Vi Editor,
Sitemap,
Knowledgebase
. Select your language: ![]() |
|
|
|
Copyright © 2008
egginfo.org - All Rights Reserved.
|