<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/3435" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2003-01-17T19:57:36-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/3435</id>

		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-01-17T19:57:36-04:00</updated>

		<published>2003-01-17T19:57:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15477#p15477</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15477#p15477"/>
		<title type="html"><![CDATA[Got another question concerning a socket connection w/tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15477#p15477"><![CDATA[
Server pings, are replied using pongs.<br><br>Simply use "PONG &lt;args&gt;". &lt;args&gt; are obtained from the incominf PING command.<br><br>Not all servers send arguments, and only send the PING<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Fri Jan 17, 2003 7:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-01-17T19:35:11-04:00</updated>

		<published>2003-01-17T19:35:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15476#p15476</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15476#p15476"/>
		<title type="html"><![CDATA[Got another question concerning a socket connection w/tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15476#p15476"><![CDATA[
My script is getting there, slowly but surely. So I have the connection open, how would I send ping replies? I've tried a few different variations, none seem to be working properly. How would I send a PING reply to a server?<p>Statistics: Posted by Guest — Fri Jan 17, 2003 7:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-01-15T13:01:45-04:00</updated>

		<published>2003-01-15T13:01:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15353#p15353</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15353#p15353"/>
		<title type="html"><![CDATA[Got another question concerning a socket connection w/tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15353#p15353"><![CDATA[
Thx for the help egghead. I successfully got my eggdrop to open a services connection to my IRCD. The only thing I have to learn now is string manipulation, and a little more about variables. So I can send ping replies and responses based on certian text events like user connections to the ircd, nick changes, ect... Thx again to everyone for their help.<p>Statistics: Posted by Guest — Wed Jan 15, 2003 1:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-01-13T21:30:57-04:00</updated>

		<published>2003-01-13T21:30:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15270#p15270</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15270#p15270"/>
		<title type="html"><![CDATA[Got another question concerning a socket connection w/tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15270#p15270"><![CDATA[
Thx for the feedback. I'll take a look at your link and see if I can figure it out. Thanks  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cool.gif" width="15" height="15" alt="8)" title="Cool"><p>Statistics: Posted by Guest — Mon Jan 13, 2003 9:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[egghead]]></name></author>
		<updated>2003-01-13T04:46:59-04:00</updated>

		<published>2003-01-13T04:46:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15240#p15240</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15240#p15240"/>
		<title type="html"><![CDATA[Got another question concerning a socket connection w/tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15240#p15240"><![CDATA[
<blockquote class="uncited"><div>procname &lt;idx&gt; &lt;input-text&gt; <br><br>So if I'm reading this right, &lt;input-text&gt; needs to be a something to trigger the proc. and carry out specific operations (ie putserv ect...) Could someone layout the syntax for such a script, using the control feature?</div></blockquote>Hi Darok, at first "connect", "listen" and "control" and the return values seem a bit confusing, bit if you play around a bit, it will become clear.<br><br>Below you'll find an example.<br><br><a href="http://members.fortunecity.com/eggheadtcl/demo-connect.tcl.txt" class="postlink">http://members.fortunecity.com/eggheadt ... ct.tcl.txt</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=282">egghead</a> — Mon Jan 13, 2003 4:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-01-12T22:04:42-04:00</updated>

		<published>2003-01-12T22:04:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15235#p15235</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15235#p15235"/>
		<title type="html"><![CDATA[Got another question concerning a socket connection w/tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15235#p15235"><![CDATA[
procname &lt;idx&gt; &lt;input-text&gt; <br><br>So if I'm reading this right, &lt;input-text&gt; needs to be a something to trigger the proc. and carry out specific operations (ie putserv ect...) Could someone layout the syntax for such a script, using the control feature?<p>Statistics: Posted by Guest — Sun Jan 12, 2003 10:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-01-12T09:25:29-04:00</updated>

		<published>2003-01-12T09:25:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15208#p15208</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15208#p15208"/>
		<title type="html"><![CDATA[Got another question concerning a socket connection w/tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15208#p15208"><![CDATA[
This caused by the fact you provide no fucntion with which to handle the socket just opened.<br><br>You have used the "connect" command to open a connect, then you simply existed the function, leaving it with nothing to do but sit thetre and die.<br><br>I am guessing the rest of the code should say it was a sucess. This will never be called, as it's not been told to.<br><br>See the meaning of the "contro;" command in tcl-commands.doc<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sun Jan 12, 2003 9:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-01-15T13:09:29-04:00</updated>

		<published>2003-01-11T22:27:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15193#p15193</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15193#p15193"/>
		<title type="html"><![CDATA[Got another question concerning a socket connection w/tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15193#p15193"><![CDATA[
I'm getting this error: (using eggdrop1.6.13 and unreal3.1.14)<br><span style="color:red">[21:20] WARNING: open_telnet_raw() is about to block in gethostbyname()!<br>[21:20] &lt;&lt;Darok&gt;&gt; !*! .startservice<br>[21:20] net: connect! sock 7<br>[21:21] net: eof!(read) socket 7</span><span style="color:#444444"><br> (from ./eggdrop -n via ssh)<br><br>This is a copy of the code I used. (remember I'm new)</span><br><span style="color:red">#new connection<br>bind pub -|* .startservice pubm:serv<br>proc pubm:serv {nick host handle chan text} {<br> set idx [connect my.server.org 7029]<br>}<br>proc test:connect idx {<br> puthelp "PRIVMSG #Construct :Connnection successful"<br>}</span><br><br><span style="color:#444444">Any help/suggestions would be greatly appreciated</span><p>Statistics: Posted by Guest — Sat Jan 11, 2003 10:27 pm</p><hr />
]]></content>
	</entry>
	</feed>
