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

	<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>2004-05-27T13:51:04-04:00</updated>

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

		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-05-27T13:51:04-04:00</updated>

		<published>2004-05-27T13:51:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36641#p36641</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36641#p36641"/>
		<title type="html"><![CDATA[Channelbanlist Full]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36641#p36641"><![CDATA[
You use pushmode to place one mode at a time, it gets added to a queue, until being flushed or the proc is exited, at which point, the bot then issues all the modes in that pushmode queue...<br><br>See doc/tcl-commands.doc for more details...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Thu May 27, 2004 1:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dollar]]></name></author>
		<updated>2004-05-27T12:26:34-04:00</updated>

		<published>2004-05-27T12:26:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36639#p36639</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36639#p36639"/>
		<title type="html"><![CDATA[Channelbanlist Full]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36639#p36639"><![CDATA[
AFAIK pushmode doesnt accept multiple modes.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4046">dollar</a> — Thu May 27, 2004 12:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-05-27T10:36:13-04:00</updated>

		<published>2004-05-27T10:36:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36638#p36638</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36638#p36638"/>
		<title type="html"><![CDATA[Channelbanlist Full]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36638#p36638"><![CDATA[
Would this: <strong class="text-strong">"pushmode $chan -bbbbbb $ban"</strong><br>or: <strong class="text-strong">putserv "MODE $chan -bbbbbb $ban"</strong> both<br>of which, which would work fine?<br><br>Then again, would we have to specify, $ban 6<br>times, after the -bbbbbb, because my irc network<br>can support 6 user mode modifications in 1 command.<br><br>And suppose, if we want to clean X defined number<br>of bans. X being a variable, like 10, 20, 30? <br>One idea which comes to my mind, is maybe a loop?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Thu May 27, 2004 10:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dollar]]></name></author>
		<updated>2004-05-24T02:54:37-04:00</updated>

		<published>2004-05-24T02:54:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36561#p36561</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36561#p36561"/>
		<title type="html"><![CDATA[Channelbanlist Full]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36561#p36561"><![CDATA[
putserv "MODE #chan -bbbbbb $your_[censored]"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4046">dollar</a> — Mon May 24, 2004 2:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-05-23T17:36:12-04:00</updated>

		<published>2004-05-23T17:36:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36556#p36556</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36556#p36556"/>
		<title type="html"><![CDATA[Channelbanlist Full]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36556#p36556"><![CDATA[
pushmode works fine<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Sun May 23, 2004 5:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-05-23T17:13:30-04:00</updated>

		<published>2004-05-23T17:13:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36555#p36555</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36555#p36555"/>
		<title type="html"><![CDATA[Channelbanlist Full]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36555#p36555"><![CDATA[
<blockquote class="uncited"><div><a href="http://forum.egghelp.org/viewtopic.php?t=7055" class="postlink">http://forum.egghelp.org/viewtopic.php?t=7055</a><br><br>please use the forum search feature in the future...</div></blockquote>so can you solve the question in the thread?<br>pushmode won't work, and<br>-b<br>-b<br>-b<br>-b<br>-b<br>-b<br>Suckz so hard..<p>Statistics: Posted by Guest — Sun May 23, 2004 5:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-05-23T15:04:56-04:00</updated>

		<published>2004-05-23T15:04:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36550#p36550</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36550#p36550"/>
		<title type="html"><![CDATA[Channelbanlist Full]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36550#p36550"><![CDATA[
<a href="http://forum.egghelp.org/viewtopic.php?t=7055" class="postlink">http://forum.egghelp.org/viewtopic.php?t=7055</a><br><br>please use the forum search feature in the future...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Sun May 23, 2004 3:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-05-23T14:00:09-04:00</updated>

		<published>2004-05-23T14:00:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36548#p36548</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36548#p36548"/>
		<title type="html"><![CDATA[Channelbanlist Full]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36548#p36548"><![CDATA[
Thanx awyeah, your Script works fine.<br><blockquote class="uncited"><div>If you find a script, or get one to make it like remove the earliest, 10, 20 bans in the banlist, I would surely love it. Also if anyone can help me out to build a script like that, with this one I would be glad.</div></blockquote>Yeah, if someone can help us, it would be so nice =)<br>oh, and if someone can help me to script the -b+b tcl,<br>feel free to post <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by Guest — Sun May 23, 2004 2:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-05-23T10:54:48-04:00</updated>

		<published>2004-05-23T10:54:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36544#p36544</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36544#p36544"/>
		<title type="html"><![CDATA[Channelbanlist Full]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36544#p36544"><![CDATA[
Well, its really very simple.<br>Here give it a go.<br><div class="codebox"><p>Code: </p><pre><code>######################################## -------------------------------- ####  Channel Banlist Cleaner Script  #### -------------------------------- #########################################Set the channels you want this script activated onset banlistchans "#elite"# Change this variable to how many bans you dont want # your banlist to go past. Most DALnet servers dont # allow more than 100, so you should keep it around 98.set maxbanlist 98######  Don't change anything below here   ############ unless you know what you are doing! ######bind mode - "*+b*" clear:banlistproc clear:banlist {nick uhost hand chan mode arg} {  global botnick banlistchans maxbanlist   set numbanlist [llength [chanbans $chan]]  if {(([lsearch -exact [string tolower $banlistchans] [string tolower $chan]] != -1) || ($banlistchans == "*")) &amp;&amp; ($mode == "+b") &amp;&amp; ($numbanlist &gt;= $maxbanlist)} {  if (![botisop $chan]) {return 0}      putserv "NOTICE @$chan :BANLIST FULL: WARNING - $chan's banlist was detected to be *full* of nearly 100 entries, with $numbanlist bans."      putserv "NOTICE @$chan :CLEARING BANLIST: The banlist for $chan is now being *cleared* to 0 entries."      putlog "BANLIST: Clearing the banlist of $chan, as it is full."      utimer 3 "resetbans $chan"      }  return 0}</code></pre></div>You can change the putserv commands if you like, or remove them. Basically I've set it according to my needs, also the formatting of bolds and control codes in it.<br><br>They just send out a notice to all active OPS like "/ONOTICE" saying that the channel banlist was near to be full and I am clearing out the banlist, nothing much, rest is simple as well.<br><br>If you find a script, or get one to make it like remove the earliest, 10, 20 bans in the banlist, I would surely love it. Also if anyone can help me out to build a script like that, with this one I would be glad.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Sun May 23, 2004 10:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2004-05-23T10:49:21-04:00</updated>

		<published>2004-05-23T10:49:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36543#p36543</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36543#p36543"/>
		<title type="html"><![CDATA[Channelbanlist Full]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36543#p36543"><![CDATA[
something like this should work<br><div class="codebox"><p>Code: </p><pre><code>set maxbans 40bind mode - "*+b*" auto:unbanproc auto:unban {nick uh hand chan arg} { global botnick maxbans  set lenbanlist [llength [chanbans $chan]]  if { $lenbanlist &gt;= $maxbans } {    set unban [lindex [chanbans $chan] 1]    putserv "MODE $chan -b $unban"    return 1  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Sun May 23, 2004 10:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-05-23T10:36:15-04:00</updated>

		<published>2004-05-23T10:36:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36542#p36542</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36542#p36542"/>
		<title type="html"><![CDATA[Channelbanlist Full]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36542#p36542"><![CDATA[
The Bot is placed on Quakenet (There is the Maximun 45 Bans). I'm interested fo your Script, can you Paste it? I'm sure i'm not the only one who need's a Script like that =)<p>Statistics: Posted by Guest — Sun May 23, 2004 10:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-05-23T10:16:42-04:00</updated>

		<published>2004-05-23T10:16:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36541#p36541</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36541#p36541"/>
		<title type="html"><![CDATA[Channelbanlist Full]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36541#p36541"><![CDATA[
Hi,<br><br>Well I made a script.<br>It basically, detects when the banlist is full.<br><br>You should know you networks banlist capacity.<br>For e.g. DALnet is 100 and EFnet is 20 I think.<br><br>The script basically checks, if the banlist is near<br>to 100, suppose 99 on DALnet, and then it would<br>clear out the complete ban list. (/resetbans $chan)<br><br>This I made is for big channels where the bot<br>is opped on, and kicks/bans are implemented<br>every minute at the most making the banlist<br>fill in a quick amount of time.<br><br>If you need the script, let me know.<br><br>I am myself trying to make it to expire, lets<br>say the last 10, 20 added bans in the banlist<br>rather than removing all the bans in the banlist.<br>But that will take time I guess. It would involve<br>some hardcore coding.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Sun May 23, 2004 10:16 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-05-23T01:30:24-04:00</updated>

		<published>2004-05-23T01:30:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36537#p36537</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36537#p36537"/>
		<title type="html"><![CDATA[Channelbanlist Full]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36537#p36537"><![CDATA[
Hey everybody,<br>how can i Remove the 6 oldest Channel Bans?<br><div class="codebox"><p>Code: </p><pre><code>proc defender_mode_ban { nick host handle channel mode victim } {  if {[botisop $channel] &amp;&amp; [llength [chanbans $channel]] &gt;= 45} {    putserv "mode $chan -bbbbbb $remove_the_6_oldest_bans  }}</code></pre></div>Maybe another way is better, i saw it sometimes in some Quakenet Channel's. They ban (No Timeban) the $nick, and kick 'em. If a Count of (maybe) 15 is reached, the Bot set's -b+b TheFirstBan TheNewBan. I got already some Script's, so i need only this -b+b part.<br>Thanx for any Help.<p>Statistics: Posted by Guest — Sun May 23, 2004 1:30 am</p><hr />
]]></content>
	</entry>
	</feed>
