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

	<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-31T09:18:14-04:00</updated>

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

		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-08-31T09:18:14-04:00</updated>

		<published>2003-08-31T09:18:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26013#p26013</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26013#p26013"/>
		<title type="html"><![CDATA[Re: ban counter]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26013#p26013"><![CDATA[
An insane ammount of code to do such a simple task <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><div class="codebox"><p>Code: </p><pre><code>expr {[llength [banlist]]+[llength [banlist #chan]]}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Sun Aug 31, 2003 9:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-08-31T04:38:37-04:00</updated>

		<published>2003-08-31T04:38:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25998#p25998</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25998#p25998"/>
		<title type="html"><![CDATA[Re: ban counter]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25998#p25998"><![CDATA[
<blockquote class="uncited"><div>Hi, i found this ban counter script at egghelp.org, but script counts doesn't match with bot's dcc commands .bans all's output , not even close<br><br>I'llapprecite for the help<br>thanks<br><div class="codebox"><p>Code: </p><pre><code># Ban Counter by BarkerJr## Usage: .bans [channel]# If channel is not specified, the current channel is assumed.# Set this to the prefix you use for commands ("" if you don't want a prefix)#set cmdchar "."bind pub - ${cmdchar}bans pub:bans[snip]</code></pre></div></div></blockquote>the public .bans command will show you how many bans have been set in the channel, the dcc .bans all command shows you all global bans in this channel and other channels.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun Aug 31, 2003 4:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[EEggy]]></name></author>
		<updated>2003-08-30T22:55:02-04:00</updated>

		<published>2003-08-30T22:55:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25986#p25986</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25986#p25986"/>
		<title type="html"><![CDATA[ban counter]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25986#p25986"><![CDATA[
Hi, i found this ban counter script at egghelp.org, but script counts doesn't match with bot's dcc commands .bans all's output , not even close<br><br>I'llapprecite for the help<br>thanks<br><div class="codebox"><p>Code: </p><pre><code># Ban Counter by BarkerJr## Usage: .bans [channel]# If channel is not specified, the current channel is assumed.# Set this to the prefix you use for commands ("" if you don't want a prefix)#set cmdchar "."bind pub - ${cmdchar}bans pub:bansproc pub:bans {nick uhost hand chan arg} {  set ctr 0  if {![validchan $arg]} {    if {$arg != ""} {      puthelp "PRIVMSG $chan :Bans: Invalid channel, assuming current channel"    }    set arg $chan  }  set bans [banlist $arg]  while {[lindex $bans $ctr] != ""} {    set ctr [expr $ctr + 1]  }  set banctr $ctr  set bans [banlist]  while {[lindex $bans $ctr] != ""} {    set ctr [expr $ctr + 1]  }  puthelp "PRIVMSG $chan :Bans: [expr $banctr + $ctr]"  return 1}</code></pre></div>[/code]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1962">EEggy</a> — Sat Aug 30, 2003 10:55 pm</p><hr />
]]></content>
	</entry>
	</feed>
