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

	<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-18T05:05:15-04:00</updated>

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

		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-10-18T05:05:15-04:00</updated>

		<published>2003-10-18T05:05:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28633#p28633</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28633#p28633"/>
		<title type="html"><![CDATA[script for unban all]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28633#p28633"><![CDATA[
Is working fine @ me..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sat Oct 18, 2003 5:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-10-17T17:23:21-04:00</updated>

		<published>2003-10-17T17:23:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28627#p28627</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28627#p28627"/>
		<title type="html"><![CDATA[script for unban all]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28627#p28627"><![CDATA[
dude caesar! you're talking about something completely different from the issue, okay i tested the correct code, but pasted a wrong code used $channel instead of $chan (oh God please forgive me), comeon let it go.<br><br>also Jag used the correct code, and it should work.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri Oct 17, 2003 5:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-10-17T13:10:41-04:00</updated>

		<published>2003-10-17T13:10:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28624#p28624</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28624#p28624"/>
		<title type="html"><![CDATA[script for unban all]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28624#p28624"><![CDATA[
Doh! It's impossible not to work with #channel in bouth places as in <em class="text-italics">[banlist #channel]</em> and in <em class="text-italics">killchanban #channel</em>.. Test this and tell me if it's working:<div class="codebox"><p>Code: </p><pre><code>.tcl set $chan #channel ; foreach thisban [banlist $chan] { set banhost [lindex $thisban 0] ; killchanban $channel $banhost }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri Oct 17, 2003 1:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-10-17T08:37:11-04:00</updated>

		<published>2003-10-17T08:37:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28621#p28621</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28621#p28621"/>
		<title type="html"><![CDATA[script for unban all]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28621#p28621"><![CDATA[
i added some bans into #channel and in partyline:<blockquote class="uncited"><div>.tcl foreach thisban [banlist #channel] { set banhost [lindex $thisban 0] ; killchanban #channel $banhost }</div></blockquote>the bot removed all bans from the channel.<br><br>if it didn't work for you, then the ban is probably a global ban not a channel specific ban.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri Oct 17, 2003 8:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Jag]]></name></author>
		<updated>2003-10-17T07:24:24-04:00</updated>

		<published>2003-10-17T07:24:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28618#p28618</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28618#p28618"/>
		<title type="html"><![CDATA[script for unban all]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28618#p28618"><![CDATA[
didn't work <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br><div class="codebox"><p>Code: </p><pre><code>bind pub - !unbanall unban:allproc unban:all {nick uhost hand chan arg} {  foreach thisban [banlist $chan] {    set banhost [lindex $thisban 0]    killchanban $chan $banhost  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3871">Jag</a> — Fri Oct 17, 2003 7:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-10-17T00:59:01-04:00</updated>

		<published>2003-10-17T00:59:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28607#p28607</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28607#p28607"/>
		<title type="html"><![CDATA[script for unban all]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28607#p28607"><![CDATA[
And how did it worked fine if you had $channel instead of $chan? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri Oct 17, 2003 12:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-10-16T16:08:11-04:00</updated>

		<published>2003-10-16T16:08:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28598#p28598</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28598#p28598"/>
		<title type="html"><![CDATA[script for unban all]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28598#p28598"><![CDATA[
yeah :p I copied it from crazycat and forgot to change it to $chan<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Thu Oct 16, 2003 4:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-10-16T13:11:53-04:00</updated>

		<published>2003-10-16T13:11:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28591#p28591</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28591#p28591"/>
		<title type="html"><![CDATA[script for unban all]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28591#p28591"><![CDATA[
Probably you mean <em class="text-italics">killchanban $chan $banhost</em> not $channel <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> — Thu Oct 16, 2003 1:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-10-16T08:46:04-04:00</updated>

		<published>2003-10-16T08:46:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28582#p28582</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28582#p28582"/>
		<title type="html"><![CDATA[script for unban all]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28582#p28582"><![CDATA[
i see that the syntax is correct.<div class="codebox"><p>Code: </p><pre><code>bind pub mo|mo !unbanall unban:allproc unban:all {nick uhost hand chan arg} {foreach thisban [banlist $chan] {   set banhost [lindex $thisban 0]    killchanban $channel $banhost  }}</code></pre></div>Tested, works fine.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Thu Oct 16, 2003 8:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2003-10-15T13:11:00-04:00</updated>

		<published>2003-10-15T13:11:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28534#p28534</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28534#p28534"/>
		<title type="html"><![CDATA[script for unban all]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28534#p28534"><![CDATA[
Hey master <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>can't you say if my syntax was good or, if no, wich is the good?<br>I think that killchanban prefers the id of ban, not the host.<br>If yes, how to get the ID ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Wed Oct 15, 2003 1:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[egghead]]></name></author>
		<updated>2003-10-15T11:31:38-04:00</updated>

		<published>2003-10-15T11:31:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28528#p28528</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28528#p28528"/>
		<title type="html"><![CDATA[script for unban all]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28528#p28528"><![CDATA[
<blockquote class="uncited"><div>there must be scripts for <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"></div></blockquote>And by reading docs/tcl-commands.doc and <a href="http://www.suninet.nl" class="postlink">http://www.suninet.nl</a> plus the information already given you should be able to make it yourself.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=282">egghead</a> — Wed Oct 15, 2003 11:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[MINImi]]></name></author>
		<updated>2003-10-15T11:24:00-04:00</updated>

		<published>2003-10-15T11:24:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28526#p28526</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28526#p28526"/>
		<title type="html"><![CDATA[script for unban all]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28526#p28526"><![CDATA[
there must be scripts for <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=3973">MINImi</a> — Wed Oct 15, 2003 11:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2003-10-15T09:38:46-04:00</updated>

		<published>2003-10-15T09:38:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28522#p28522</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28522#p28522"/>
		<title type="html"><![CDATA[script for unban all]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28522#p28522"><![CDATA[
learn tcl-command.doc <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><div class="codebox"><p>Code: </p><pre><code>set channel "#mychan"foreach thisban [banlist $channel] {   set banhost [lindex $thisban 0]   killchanban $channel $banhost}</code></pre></div>But I'm not sure of the killchanban syntax (argument used???) and I've no time to spend to test it<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Wed Oct 15, 2003 9:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[MINImi]]></name></author>
		<updated>2003-10-15T08:07:50-04:00</updated>

		<published>2003-10-15T08:07:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28517#p28517</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28517#p28517"/>
		<title type="html"><![CDATA[script for unban all]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28517#p28517"><![CDATA[
i think i better need a complete script <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=3973">MINImi</a> — Wed Oct 15, 2003 8:07 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2003-10-15T03:58:54-04:00</updated>

		<published>2003-10-15T03:58:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28509#p28509</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28509#p28509"/>
		<title type="html"><![CDATA[script for unban all]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28509#p28509"><![CDATA[
something like:<div class="codebox"><p>Code: </p><pre><code>foreach thisban [bans] {unban $thisban}</code></pre></div>This is totally false, but the principe is this <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>just adapt it<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Wed Oct 15, 2003 3:58 am</p><hr />
]]></content>
	</entry>
	</feed>
