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

	<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>2006-12-23T22:16:28-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ap]]></name></author>
		<updated>2006-12-23T22:16:28-04:00</updated>

		<published>2006-12-23T22:16:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69210#p69210</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69210#p69210"/>
		<title type="html"><![CDATA[ban counts]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69210#p69210"><![CDATA[
thank you, Sir_Fz<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7851">ap</a> — Sat Dec 23, 2006 10:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-12-23T22:00:31-04:00</updated>

		<published>2006-12-23T22:00:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69207#p69207</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69207#p69207"/>
		<title type="html"><![CDATA[ban counts]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69207#p69207"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set count 0foreach b [banlist]{    if {[isbansticky [lindex $b 0]]} {      incr count   }}putlog "Number of sticky bans: $count"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Dec 23, 2006 10:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ap]]></name></author>
		<updated>2006-12-23T15:09:08-04:00</updated>

		<published>2006-12-23T15:09:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69200#p69200</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69200#p69200"/>
		<title type="html"><![CDATA[ban counts]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69200#p69200"><![CDATA[
Hi, i'm trying to count and display the sticky bans only from the global banlist but no luck. i'm trying this. Can someone help me pls. thx<br>code snip..<br><div class="codebox"><p>Code: </p><pre><code>set count 0foreach b [banlist]{    if {[string match -nocase "*stick*" $b]} {      incr count   }}putlog "Number of sticky bans: $count" </code></pre></div>###<br>Also I've tried the following as well but it doesn't work<br><div class="codebox"><p>Code: </p><pre><code>foreach b [banlist]{   if {[isbansticky $b]} {        putlog "Sticky bans: $b"   }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7851">ap</a> — Sat Dec 23, 2006 3:09 pm</p><hr />
]]></content>
	</entry>
	</feed>
