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

	<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-03-18T11:59:57-04:00</updated>

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

		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2004-03-18T11:59:57-04:00</updated>

		<published>2004-03-18T11:59:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34748#p34748</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34748#p34748"/>
		<title type="html"><![CDATA[banning nickname which has joined and unban oldest bans]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34748#p34748"><![CDATA[
why don't you use the bots intern banlist by creating the ban via newchanban? The bot should control the banlist by itself and push the requiered bans on chan when required and remove some to prevent overflow, if you have set the max ban correctly in the .conf file.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Thu Mar 18, 2004 11:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[entrapmen]]></name></author>
		<updated>2004-03-16T18:43:35-04:00</updated>

		<published>2004-03-16T18:43:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34689#p34689</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34689#p34689"/>
		<title type="html"><![CDATA[banning nickname which has joined and unban oldest bans]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34689#p34689"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div>Something like this? (not tested)<div class="codebox"><p>Code: </p><pre><code>foreach ban [lrange [lsort -index 2 -int -decreasing [chanbans #chan]] 0 5] {pushmode #chan -b $ban}</code></pre></div></div></blockquote>well it works partly, i add a line like <div class="codebox"><p>Code: </p><pre><code>putlog "$ban" </code></pre></div> and it shows the right bans. but it doesnt unban them. its about pushmode i think. any idea?</div></blockquote>im using <div class="codebox"><p>Code: </p><pre><code> putserv "mode #chan -b $ban"</code></pre></div> now, but it unbans like:<br><br>[00:19] * denemebotu sets mode: -b *!deneme18@*<br>[00:19] * denemebotu sets mode: -b *!deneme17@*<br>[00:19] * denemebotu sets mode: -b *!deneme16@*<br>[00:19] * denemebotu sets mode: -b *!deneme15@*<br>[00:19] * denemebotu sets mode: -b *!deneme14@*<br>[00:19] * denemebotu sets mode: -b *!deneme13@*<br>[00:24] * denemebotu sets mode: -b *!deneme12@*<br><br>is there a way to unban them all with -bbbbbb .. .. . .. ..?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3463">entrapmen</a> — Tue Mar 16, 2004 6:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[entrapmen]]></name></author>
		<updated>2004-03-16T15:48:08-04:00</updated>

		<published>2004-03-16T15:48:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34683#p34683</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34683#p34683"/>
		<title type="html"><![CDATA[banning nickname which has joined and unban oldest bans]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34683#p34683"><![CDATA[
<blockquote class="uncited"><div>Something like this? (not tested)<div class="codebox"><p>Code: </p><pre><code>foreach ban [lrange [lsort -index 2 -int -decreasing [chanbans #chan]] 0 5] {pushmode #chan -b $ban}</code></pre></div></div></blockquote>well it works partly, i add a line like <div class="codebox"><p>Code: </p><pre><code>putlog "$ban" </code></pre></div> and it shows the right bans. but it doesnt unban them. its about pushmode i think. any idea?[/code]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3463">entrapmen</a> — Tue Mar 16, 2004 3:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-03-16T07:45:29-04:00</updated>

		<published>2004-03-16T07:45:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34671#p34671</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34671#p34671"/>
		<title type="html"><![CDATA[banning nickname which has joined and unban oldest bans]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34671#p34671"><![CDATA[
Something like this? (not tested)<div class="codebox"><p>Code: </p><pre><code>foreach ban [lrange [lsort -index 2 -int -decreasing [chanbans #chan]] 0 5] {pushmode #chan -b $ban}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Tue Mar 16, 2004 7:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[entrapmen]]></name></author>
		<updated>2004-03-16T01:43:18-04:00</updated>

		<published>2004-03-16T01:43:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34663#p34663</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34663#p34663"/>
		<title type="html"><![CDATA[banning nickname which has joined and unban oldest bans]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34663#p34663"><![CDATA[
i found how to ban nick names. but the unbaning oldest 6 ban  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad">  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad">  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad"> i wonder why doesnt someone reply to that topic?  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad">  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3463">entrapmen</a> — Tue Mar 16, 2004 1:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[entrapmen]]></name></author>
		<updated>2004-03-12T16:22:34-04:00</updated>

		<published>2004-03-12T16:22:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34526#p34526</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34526#p34526"/>
		<title type="html"><![CDATA[banning nickname which has joined and unban oldest bans]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34526#p34526"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set nekadarban 120# 1: *!*hesap@*.domain   *!*hesap@A.B.C.*# 2: *!*@domain          *!*@A.B.C.D# 3: Nick!*@*set bancesidi 2set Ban "banned: Reklam yapmayınız..!"bind join - "*gulcinn*" kotunickbind join - "*Afet^*" kotunickbind join - "*Ebru_*" kotunickglobal versi bancesidiset versi "Kotu kızlar out by entrapmen"proc kotunick {nick uhost hand chan} {putlog "$nick $uhost $hand $chan"  global botnick nekadarban Ban versi bancesidiset domain [string range $uhost [expr [string last @ $uhost] +1] end] switch $bancesidi {  1 {set sitemask "*!*[string trimleft [maskhost $uhost] *!]"}  2 {set sitemask "*!*@$domain"}}set chan "#denemee"if {(([matchattr $hand p]) || ([matchattr $hand b]))} { return 1 }if {![isop $nick $chan] || ![isvoice $nick $chan]} {putquick "mode $chan +b $sitemask $nekadarban"putquick "KICK $chan $nick :$Ban"} }putlog "\[$versi\] Yuklendi"</code></pre></div>i make tcl like dat, in this script bot bans the *!*@domain or host@domain. and also i wanna ban the nickname that joined the channel like Nick!*@*. (there is ban limit on server) There are lots of nicks in list (i didnt paste all of them) Maybe some1 will advise to sort it out <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>And i dun wanna open a new topic so ill ask it here:<br><div class="codebox"><p>Code: </p><pre><code>bind notc - "Banlist Full" unban_someproc unban_some {nick uhost hand chan} {putserv "MODE $chan -bbbbbb oldest6bans!!!!"} </code></pre></div>i write a lil tcl to unban 6 six bans when the banlist is full. But im a newbie and i couldnt find a solution to unban oldest 6 ban on channel.<br><br>Tx.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3463">entrapmen</a> — Fri Mar 12, 2004 4:22 pm</p><hr />
]]></content>
	</entry>
	</feed>
