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

	<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-10-18T16:49:21-04:00</updated>

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

		<entry>
		<author><name><![CDATA[smds]]></name></author>
		<updated>2003-10-18T16:49:21-04:00</updated>

		<published>2003-10-18T16:49:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28655#p28655</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28655#p28655"/>
		<title type="html"><![CDATA[banlist.tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28655#p28655"><![CDATA[
works fine now, thanks both  <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=3848">smds</a> — Sat Oct 18, 2003 4:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[smds]]></name></author>
		<updated>2003-10-18T16:02:11-04:00</updated>

		<published>2003-10-18T16:02:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28653#p28653</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28653#p28653"/>
		<title type="html"><![CDATA[banlist.tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28653#p28653"><![CDATA[
lol ugly. well, the proc and bind were originally called 'banlist'<br>but a few errors ago i changed it to pub:banlist<br>there is no other script or anything with a proc/bind<br>called banlist, i'll try killing it and see what happnes.<br>thanks for the help.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3848">smds</a> — Sat Oct 18, 2003 4:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2003-10-18T15:11:30-04:00</updated>

		<published>2003-10-18T15:11:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28651#p28651</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28651#p28651"/>
		<title type="html"><![CDATA[banlist.tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28651#p28651"><![CDATA[
<blockquote class="uncited"><div>Irrelevant or not it looks *ugly*.. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"></div></blockquote>Beauty is in the eye of the beholder.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Sat Oct 18, 2003 3:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-10-18T15:08:35-04:00</updated>

		<published>2003-10-18T15:08:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28650#p28650</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28650#p28650"/>
		<title type="html"><![CDATA[banlist.tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28650#p28650"><![CDATA[
Irrelevant or not it looks *ugly*.. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sat Oct 18, 2003 3:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2003-10-18T14:57:58-04:00</updated>

		<published>2003-10-18T14:57:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28649#p28649</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28649#p28649"/>
		<title type="html"><![CDATA[banlist.tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28649#p28649"><![CDATA[
<blockquote class="uncited"><div>Remove the extra spaces inside the proc, like from:<div class="codebox"><p>Code: </p><pre><code>proc pub:banlist { nick host hand chan text } {</code></pre></div>should be:<div class="codebox"><p>Code: </p><pre><code>proc pub:banlist {nick host hand chan text} {</code></pre></div></div></blockquote>irrelevant..the spaces are fine.<br><br>from the look of the error message, you have a proc from another script called 'banlist' (maybe as you originally were writing this script, you didn't name the proc 'pub:banlist', but rather 'banlist'? In which case, you will have to .restart , not .rehash).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Sat Oct 18, 2003 2:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-10-18T14:07:01-04:00</updated>

		<published>2003-10-18T14:07:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28646#p28646</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28646#p28646"/>
		<title type="html"><![CDATA[banlist.tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28646#p28646"><![CDATA[
Remove the extra spaces inside the proc, like from:<div class="codebox"><p>Code: </p><pre><code>proc pub:banlist { nick host hand chan text } {</code></pre></div>should be:<div class="codebox"><p>Code: </p><pre><code>proc pub:banlist {nick host hand chan text} {</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sat Oct 18, 2003 2:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[smds]]></name></author>
		<updated>2003-10-18T13:52:05-04:00</updated>

		<published>2003-10-18T13:52:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28645#p28645</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28645#p28645"/>
		<title type="html"><![CDATA[banlist.tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28645#p28645"><![CDATA[
keep getting this tcl error, dont know what it is:<br>no value given for parameter "host" to "banlist"<br><div class="codebox"><p>Code: </p><pre><code>bind PUB o banlist pub:banlist proc pub:banlist { nick host hand chan text } { set target [getuser $hand XTRA TARGET] set type ""set bans ""if { [llength $text] &lt; 1 } {set bans [banlist $chan]set type $chan} else {if { [matchattr $hand A] &amp;&amp; [string tolower [lindex $text 0]] == "global" } {set bans [banlist]set type "global"} if { [string tolower [lindex $text 0]] == "all" } {for { set x 0 } { $x &lt; [llength [channels]] } { incr x } {set bans "$bans [banlist [lindex [channels] $x]]"}set bans "$bans [banlist]"set type "all"  }}  if { [llength $bans] &lt; 1 } {   puthelp "$target $nick :There are no bans to list for $type." } else {   puthelp "$target $nick :Listing bans for $type"for { set x 0 } { $x &lt; [llength $bans] } { incr x } {set list [lindex $bans $x]set banned [lindex $list 0]set comment[lindex $list 1]set expire[lindex $list 2]set creator[lindex $list 5]  if { $expire == 0 } { set expire "never"  } else { set expire [ctime $expire] }  puthelp "$target $nick :$x - Mask: $banned, Reason: $comment, Expires: $expire, Creator: $creator"}   }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3848">smds</a> — Sat Oct 18, 2003 1:52 pm</p><hr />
]]></content>
	</entry>
	</feed>
