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.

A couple questions

Old posts that have not been replied to for several years.
Locked
J
James_Orr

A couple questions

Post by James_Orr »

I'm considering porting an IRC bot I wrote in Perl to work with EggDrop.

My hope is this will be easier for those running under windows to work with. There's a few things I need to be able to do however:

1. The bot gives status updates in one channel, and will send additional information to people on request. The additional information can be in the region of 20 lines. I need to be able to send the information, possibly to multiple people, quickly and without slowing down the feed to the channel.

In the Perl version this is sent via DCC Chat. Is it possible to make an eggdrop send to somebody via DCC but NOT use the partyline, or even have an account on the bot?

2. The bot does UDP queries, is there a good reference on the internet somewhere about using UDP queries with TCL? It has to work with both windows and linux.
User avatar
strikelight
Owner
Posts: 708
Joined: Mon Oct 07, 2002 10:39 am
Contact:

Re: A couple questions

Post by strikelight »

James_Orr wrote:I'm considering porting an IRC bot I wrote in Perl to work with EggDrop.

My hope is this will be easier for those running under windows to work with. There's a few things I need to be able to do however:

1. The bot gives status updates in one channel, and will send additional information to people on request. The additional information can be in the region of 20 lines. I need to be able to send the information, possibly to multiple people, quickly and without slowing down the feed to the channel.

In the Perl version this is sent via DCC Chat. Is it possible to make an eggdrop send to somebody via DCC but NOT use the partyline, or even have an account on the bot?

2. The bot does UDP queries, is there a good reference on the internet somewhere about using UDP queries with TCL? It has to work with both windows and linux.
1) yes it is possible... see 'listen' , 'control' in tcl-commands.doc that comes with eggdrop.

2) see: http://forum.egghelp.org/viewtopic.php?p=27004#27004
J
James_Orr

Post by James_Orr »

The best way to learn how to use these commands is to find a script that
uses them and follow it carefully. However, hopefully this has given you
a good start.
Any suggestions :)?
User avatar
GodOfSuicide
Master
Posts: 463
Joined: Mon Jun 17, 2002 8:00 pm
Location: Austria

Post by GodOfSuicide »

http://members.fortunecity.com/eggheadtcl/
there you can find demos for those cmd's
Locked