<?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/820" />

	<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>2002-01-11T23:05:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-01-11T23:05:00-04:00</updated>

		<published>2002-01-11T23:05:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=3730#p3730</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=3730#p3730"/>
		<title type="html"><![CDATA[simple tcl on join/part/quit script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=3730#p3730"><![CDATA[
the simplest method is to<blockquote class="uncited"><div>set users_in_chan [llength [chanlist #channame]]</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Fri Jan 11, 2002 11:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-01-11T13:50:00-04:00</updated>

		<published>2002-01-11T13:50:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=3718#p3718</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=3718#p3718"/>
		<title type="html"><![CDATA[simple tcl on join/part/quit script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=3718#p3718"><![CDATA[
thanks, I'll give that a try. is the easiest way to get the number of users in a channel to use chanlist and count?<p>Statistics: Posted by Guest — Fri Jan 11, 2002 1:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-01-11T11:54:00-04:00</updated>

		<published>2002-01-11T11:54:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=3712#p3712</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=3712#p3712"/>
		<title type="html"><![CDATA[simple tcl on join/part/quit script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=3712#p3712"><![CDATA[
I sugest mysqltcl rather than mytcl.<br><br>It provides a builtin escape function, and can tell you if a previous connection to the server died, or is invalid. This is not possible tiwht mytcl, which will just error out.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Fri Jan 11, 2002 11:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-01-11T01:59:00-04:00</updated>

		<published>2002-01-11T01:59:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=3698#p3698</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=3698#p3698"/>
		<title type="html"><![CDATA[simple tcl on join/part/quit script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=3698#p3698"><![CDATA[
You will find almost all the information you need in the tcl-commands.doc file that accompanies eggdrop. To react to joins, try the following:<div class="codebox"><p>Code: </p><pre><code>bind join - * join_handlerproc join_handler {nick uhost hand chan} {  # Do whatever you want here}</code></pre></div>The section on binds is about halfway through, labeled "COMMAND EXTENSION".<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Fri Jan 11, 2002 1:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-01-11T01:33:00-04:00</updated>

		<published>2002-01-11T01:33:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=3696#p3696</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=3696#p3696"/>
		<title type="html"><![CDATA[simple tcl on join/part/quit script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=3696#p3696"><![CDATA[
I need a simple script that will write the number of users in a channel to a mySQL table.  I think I'll use mytcl to make things easier.  That leaves a small script that should run on join/part/quict/kick and update the mysql table using "sql query $handle $query".<br><br>I've never touched tcl before, so I'm going to give it a try just to see what happens.  The mySQL query is no problem.  If anyone has a script or example that could help me out here, it would be quite appreciated.  Thanks.<p>Statistics: Posted by Guest — Fri Jan 11, 2002 1:33 am</p><hr />
]]></content>
	</entry>
	</feed>
