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.

eggdrop / services

Old posts that have not been replied to for several years.
Locked
s
simonbell
Halfop
Posts: 68
Joined: Mon Aug 05, 2002 8:07 pm
Location: Washington, England
Contact:

eggdrop / services

Post by simonbell »

Hi

Were planning on writing a tcl script for an eggdrop which will act as simple services on our little irc network. Obviously this can be done just by connecting eggdrop as a normal user with ircop priviledges, but is it possible to get an eggdrop to connect as a service to an ircd instead of as a user, via a .tcl script or otherwise?

thanks
Simon
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

In essance it would be possible, allthough it has not been done to this date (that I am aware of).

Having not had chance to look at how services connect to a server (client or server mode?), I don't know.

However, saying this, my advice would be not too.

While Tcl will allow this to happen, I do not recomend it, as the bot would become unresponsive. Possibily more than if you placed the bot in all channels. This is true, even if a service will take less bandwidth than being in every channel. This is due to the fact that Tcl is slow.

For every day scripts Tcl is fine. But when it's time to use Tcl as the sole traffic processor, then bottlenecks occur (traffic flowing faster than Tcl can process it).

Yes, code can be optimised, but to do this, you would need to the code causing long lead times. IE, you strip it down to the point, where it's doign the job, and only the job. But this will open the script up to floods and other attacks.

Instead of running an eggdorp, run a service bot directly.
Locked