This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Howto write your own eggdrop module??

Old posts that have not been replied to for several years.
Locked
L
Leonhart

Post by Leonhart »

I like to have my eggdrops able to handle SSL encryption. Maybe I am going to write this module myself if I have the time but I know nothing about eggdrop modules. Any tips/tutorial howto write one?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

OK, firstly. To make eggdrop hadnle SSL encryption on it's userfile sharing and partyline protocols, you will need to re-write all the socket code in the core of eggdrop. None of the modules handle network connections themself, they only call the required functions in the core to do it.

To allow the bot to use scripted sockets, you could create your own module, or there is a patch available for Tcl, which you could apply, re-compile Tcl, then eggdrop.

To get started with eggdrop modules, the only thning I can sugest, is to read woobie.mod and doc/modules. Once you get the idea of a basic format, you can start looking into the extended function calls you can make by reading through modules.h
Locked