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

	<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>2001-10-29T14:43:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-10-29T14:43:00-04:00</updated>

		<published>2001-10-29T14:43:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=1183#p1183</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=1183#p1183"/>
		<title type="html"><![CDATA[Bot doesn't react on users leaving channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=1183#p1183"><![CDATA[
solved it! thx anyway <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by Guest — Mon Oct 29, 2001 2:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-10-29T13:38:00-04:00</updated>

		<published>2001-10-29T13:38:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=1177#p1177</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=1177#p1177"/>
		<title type="html"><![CDATA[Bot doesn't react on users leaving channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=1177#p1177"><![CDATA[
Need help here! I can't get bot to run the cm_left routine when someone leaves the monitored channel. I've been looking for the stupid bug for hours now, and it's probably very simple but I can't find it!<br><br>The script is a "max-number of users in the channel"-script, which saves the number of users (of course) and the date and time when the record was set. Kind of basic stuff for a channel with 10 - 20 users.<br><br>I'm posting the routine which is failing and it's bind. If you want the rest, just request and I'll mail it.<br><br>BTW, this is my first tcl-script so be nice =)<br><br><br>--------------------------------<br><br>bind sign - * cm_left<br><br>--------------------------------<br><br>proc cm_left {nick host handle channel reason} {<br> global cm_chan cm_numusers<br><br> set cm_numusers [llength [chanlist $cm_chan]]<br><br># debugging!<br> putlog "ChanMax: User $nick left $cm_chan. Now $cm_numusers online."<br><br> return 0<br>}<br><br>--------------------------------<p>Statistics: Posted by Guest — Mon Oct 29, 2001 1:38 pm</p><hr />
]]></content>
	</entry>
	</feed>
