The linked examples make use of the "Tcl UDP" extension for tcl. There are pre-built modules for windows, however for linux/un*x you'll have to build it against your tcl-library (not against eggdrop).
Generally, you wouldn't have to rebuild your eggdrop for adding new tcl-modules (unlike eggdrop-modules), though you might have to tell tcl where to look for it. Some experience in building/installing custom tcl-modules would be advisable.
nml375 wrote:The linked examples make use of the "Tcl UDP" extension for tcl. There are pre-built modules for windows, however for linux/un*x you'll have to build it against your tcl-library (not against eggdrop).
Generally, you wouldn't have to rebuild your eggdrop for adding new tcl-modules (unlike eggdrop-modules), though you might have to tell tcl where to look for it. Some experience in building/installing custom tcl-modules would be advisable.
So... I haven't asked them yet, but since I'm running eggdrop on one of my shells, wouldn't my provider have to install that?
If that's true, wouldn't it be easier/more feasible to just write a new tcl command in C?
That kind of depends on how the system has been set up, which packages and tools are available, etc.
The extension is not compiled into the tcl-libraries, but merely compiled for it. The tcl environment would then load it into the runtime using the "load" command (usually handled by the packet manager, hence you see the "package require udp" command in the beginning of the example scripts).
To install it yourself, you'd most likely have to place the generated library file within your home directory. You would also need a standard compiling environment, including the tcl libraries (including the "devel" parts).