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.

Did someone already use connect, controll, listen?

Help for those learning Tcl or writing their own scripts.
Post Reply
User avatar
sKy
Op
Posts: 194
Joined: Thu Apr 14, 2005 5:58 pm
Location: Germany

Did someone already use connect, controll, listen?

Post by sKy »

One of the last eggdrop tcl mystery. The commands connect, controll, listen... The only thingi found about it was the eggdrop tcl documentation.
I searched the forum, the script archive and google and found nothing.

From hearsay i know this commands work fast then the socket command? The socket command is throttled? - Is this true?

Feel free to tallk about your experiences. Maybe post some example scripts.
socketapi | Code less, create more.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

I dare to claim that my scripts all make pretty good use of these commands and are worth studying as examples
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
User avatar
sKy
Op
Posts: 194
Joined: Thu Apr 14, 2005 5:58 pm
Location: Germany

Post by sKy »

No need to claim something or not. Nvm.
Just show? =)
socketapi | Code less, create more.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

if you were a newbie asking for that, I'd write a couple of lines sample code on the subject - but you're not a newbie - apparently you are just being lazy not bothering to download a script and see for yourself (if by any chance you've already done that and didn't understand something, ask concrete questions)
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
User avatar
sKy
Op
Posts: 194
Joined: Thu Apr 14, 2005 5:58 pm
Location: Germany

Post by sKy »

I`d never found a script which use this commands. I visted your website
http://www.demond.net/ - pretty interesting stuff but nothing about this topic. Which example script do you mean?
socketapi | Code less, create more.
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

egghttp uses connect and control.
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

sKy wrote:I`d never found a script which use this commands. I visted your website
http://www.demond.net/ - pretty interesting stuff but nothing about this topic. Which example script do you mean?
you are expecting me to announce on my website that script X uses command Y? :)

click on "Other stuff" and download spambuster, ircd and rconsole; they all use connect, control & listen
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
e
egghead
Master
Posts: 481
Joined: Mon Oct 29, 2001 8:00 pm
Contact:

Re: Did someone already use connect, controll, listen?

Post by egghead »

sKy wrote: Maybe post some example scripts.
Some (long) time ago I made two example scripts. Hope it gives a bit of the flavor.

http://members.fortunecity.com/eggheadtcl/

demo-connect.tcl
demo-listen.tcl

http://members.fortunecity.com/eggheadt ... en.tcl.txt
http://members.fortunecity.com/eggheadt ... ct.tcl.txt
Post Reply