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.

Send data with telnet on an other bot ( not eggdrop )

Old posts that have not been replied to for several years.
Locked
G
Guest

Post by Guest »

hi , i m looking for send commands to a half-life server via my eggdrop

half-life server can be controlled by telnet , so i think that can be possible.
maybe it s very easy but i don t know tcl very good.

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

Post by ppslim »

Learn Tcl then, and you will know how easy it is.
G
Guest

Post by Guest »

thx...

give me a guide or anything else then i can find by myself if you don t want to tell it to me... I already searched in google and on this site but i didn t find anything.

And i just wanted to add that i m not this newbie who just ask his questions when he don t know , there are 3 days now i look how to do that and i don t find it , i already wrote all the code for my script ( 50 ko , not a little one ) but i can t find how to do that.

thx for help , bb
User avatar
stdragon
Owner
Posts: 959
Joined: Sun Sep 23, 2001 8:00 pm
Contact:

Post by stdragon »

You can either use eggdrop's built-in network functions, or tcl's network functions.

For eggdrop's, look in tcl-commands.doc. The pertinent ones are "connect", "putdcc", and "control". There is a section near the end of tcl-commands.doc called "(C) TCP CONNECTIONS" that even gives a little sample code.

For tcl's, look at dev.scriptics.com or tcl.activestate.com at the manual, and look at the man pages for "socket", "puts", and "gets".
G
Guest

Post by Guest »

ok , thank you very much , i will check that.

happy new year :smile:


ok thank you again , it work , it was not really hard to do when you told me where to look :smile:

i used the eggdrop built-in network functions and that was exactly what i was looking for :grin:

thx thx thx and thx again

<font size=-1>[ This Message was edited by: kalhime0 on 2002-01-02 13:33 ]</font>
Locked