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

	<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-08-12T20:58:29-04:00</updated>

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

		<entry>
		<author><name><![CDATA[slennox]]></name></author>
		<updated>2003-08-12T20:58:29-04:00</updated>

		<published>2003-08-12T20:58:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24797#p24797</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24797#p24797"/>
		<title type="html"><![CDATA[Tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24797#p24797"><![CDATA[
I'm a bit preoccupied at the moment (switching to a new OS) so I don't have time to release a new version, but here's a temporary fix:<br><div class="codebox"><p>Code: </p><pre><code>proc sl_nkflood {nick uhost hand chan newnick} {  global botnet-nick botnick sl_ban sl_banmax sl_flooded sl_globalban sl_locked sl_nickkick sl_nkbanhost sl_nkflood sl_nkflooding sl_nkqueue  if {![validchan $chan]} {return 0}  set chan [string tolower $chan]</code></pre></div>The third line (the validchan check) is the one you need to add. This is based on 4.09 but I'm pretty sure it should be fine for 4.05 and the standalone 2.70 as well.<br><br>Remember that you don't need my permission to fix it (I'll replace my poor excuse for a software licence with the GPL to make this more obvious) <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13034">slennox</a> — Tue Aug 12, 2003 8:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-08-12T07:21:34-04:00</updated>

		<published>2003-08-12T07:21:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24753#p24753</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24753#p24753"/>
		<title type="html"><![CDATA[Tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24753#p24753"><![CDATA[
<em class="text-italics">Edit</em>:never mind.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Aug 12, 2003 7:21 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[z_one]]></name></author>
		<updated>2003-08-11T04:02:32-04:00</updated>

		<published>2003-08-11T04:02:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24697#p24697</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24697#p24697"/>
		<title type="html"><![CDATA[Tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24697#p24697"><![CDATA[
I couldn't agree more.<br>I was always puzzled to see the message <em class="text-italics">nick has quit</em> even when that nick was not on any channel I was on at the time of the message.<br>Thanks for clarifying that point.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=698">z_one</a> — Mon Aug 11, 2003 4:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-08-11T09:18:40-04:00</updated>

		<published>2003-08-11T03:29:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24696#p24696</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24696#p24696"/>
		<title type="html"><![CDATA[Tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24696#p24696"><![CDATA[
<blockquote class="uncited"><div>I assume you're talking about the eggdrop's own nick being changed.<br>But the error occurs even when the bot has been sitting on the channel for days (and it hasn't changed its own nick).</div></blockquote>Some ircds get a little confused some times and display the quits of people that have been to a channel you're on, even if they're not there at the time they're quitting. I think I've seen this happen with nick changes too.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Mon Aug 11, 2003 3:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[z_one]]></name></author>
		<updated>2003-08-10T11:49:09-04:00</updated>

		<published>2003-08-10T11:49:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24658#p24658</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24658#p24658"/>
		<title type="html"><![CDATA[Tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24658#p24658"><![CDATA[
Hi,<br><br>  I assume you're talking about the eggdrop's own nick being changed.<br>  But the error occurs even when the bot has been sitting on the channel for days (and it hasn't changed its own nick).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=698">z_one</a> — Sun Aug 10, 2003 11:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-08-08T11:04:25-04:00</updated>

		<published>2003-08-08T11:04:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24575#p24575</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24575#p24575"/>
		<title type="html"><![CDATA[Tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24575#p24575"><![CDATA[
<blockquote class="uncited"><div>doc/UPDATES1.6 (since 1.6.14):<br><br>bind NICK now gets triggered even if the nickname isn't found in any channels (i.e. when the bot's nickname changes before it joins channels)</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Fri Aug 08, 2003 11:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[z_one]]></name></author>
		<updated>2003-08-08T10:22:52-04:00</updated>

		<published>2003-08-08T10:22:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24574#p24574</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24574#p24574"/>
		<title type="html"><![CDATA[Tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24574#p24574"><![CDATA[
Ok, I'll try to ... I'll get back to you as soon as I have more details.<br>I'll be basically checking for errors when a nick change occurs on the channel.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=698">z_one</a> — Fri Aug 08, 2003 10:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[slennox]]></name></author>
		<updated>2003-08-07T17:31:04-04:00</updated>

		<published>2003-08-07T17:31:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24544#p24544</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24544#p24544"/>
		<title type="html"><![CDATA[Tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24544#p24544"><![CDATA[
Can you reproduce it? If so then we might be able modify the proc to catch whatever's causing it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13034">slennox</a> — Thu Aug 07, 2003 5:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[z_one]]></name></author>
		<updated>2003-08-07T13:54:33-04:00</updated>

		<published>2003-08-07T13:54:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24526#p24526</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24526#p24526"/>
		<title type="html"><![CDATA[Tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24526#p24526"><![CDATA[
Hi and sorry for the late reply.<br>I am using eggdrop 1.6.15<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=698">z_one</a> — Thu Aug 07, 2003 1:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[slennox]]></name></author>
		<updated>2003-07-31T17:26:03-04:00</updated>

		<published>2003-07-31T17:26:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24233#p24233</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24233#p24233"/>
		<title type="html"><![CDATA[Tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24233#p24233"><![CDATA[
It looks like eggdrop might be calling sl_nkflood with the chan argument set to "*". I did a basic search of sentinel.tcl, and it doesn't call this proc itself, so it has to be the bind.<br><br>Assuming that's the problem, we'd need to find out why your bot is triggering the nick bind with the chan argument given as "*".<br><br>What version of eggdrop is it?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13034">slennox</a> — Thu Jul 31, 2003 5:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[z_one]]></name></author>
		<updated>2003-07-31T14:31:16-04:00</updated>

		<published>2003-07-31T14:31:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24227#p24227</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24227#p24227"/>
		<title type="html"><![CDATA[Tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24227#p24227"><![CDATA[
Yes maybe, but I didn't set that variable.<br>It's a netbots variable.<br>Perhaps Slennox can help.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=698">z_one</a> — Thu Jul 31, 2003 2:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-07-25T17:39:23-04:00</updated>

		<published>2003-07-25T17:39:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23961#p23961</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23961#p23961"/>
		<title type="html"><![CDATA[Tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23961#p23961"><![CDATA[
the error describes itself. u probably set some variable to "*" while it shouldn't be that way.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri Jul 25, 2003 5:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[z_one]]></name></author>
		<updated>2003-07-25T16:38:27-04:00</updated>

		<published>2003-07-25T16:38:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23959#p23959</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23959#p23959"/>
		<title type="html"><![CDATA[Tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23959#p23959"><![CDATA[
Hi,<br><br>  I restarted my bot and here's what I got:<br>  <blockquote class="uncited"><div>Tcl error [sl_nkflood]: illegal channel: *</div></blockquote>  The bot is running normally though (I am using netbots v4.05).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=698">z_one</a> — Fri Jul 25, 2003 4:38 pm</p><hr />
]]></content>
	</entry>
	</feed>
