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

	<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>2026-01-24T12:59:35-04:00</updated>

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

		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2026-01-24T12:59:35-04:00</updated>

		<published>2026-01-24T12:59:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=113447#p113447</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=113447#p113447"/>
		<title type="html"><![CDATA[Re: Banmasks first without delay and with delay after]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=113447#p113447"><![CDATA[
you mean like this right  ?<br><div class="codebox"><p>Code: </p><pre><code>set counter 0</code></pre></div>i've used it at the start of the proc as u suggested<br>that seems to work if i used proper<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Sat Jan 24, 2026 12:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2026-01-24T12:36:56-04:00</updated>

		<published>2026-01-24T12:36:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=113446#p113446</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=113446#p113446"/>
		<title type="html"><![CDATA[Re: Banmasks first without delay and with delay after]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=113446#p113446"><![CDATA[
<blockquote class="uncited"><div>thank you for your reply CrazyCat , <br><br>ive tried your suggestion and got this error : <br><blockquote class="uncited"><div>can't read "counter": no such variable</div></blockquote></div></blockquote>Just initialize counter to 0 at the beginning of the procedure.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Sat Jan 24, 2026 12:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2026-01-24T10:16:17-04:00</updated>

		<published>2026-01-24T10:16:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=113445#p113445</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=113445#p113445"/>
		<title type="html"><![CDATA[Re: Banmasks first without delay and with delay after]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=113445#p113445"><![CDATA[
im not sure if its proper but i tried this and it seems to work <br><div class="codebox"><p>Code: </p><pre><code>   if {![info exists counter]} { putquick "MODE $chan +$mode $masks" -next         }  else { after [expr {$counter*5000}] [list  puthelp "MODE $chan +$mode $masks"] }      incr counter 1</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Sat Jan 24, 2026 10:16 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2026-01-24T10:01:35-04:00</updated>

		<published>2026-01-24T10:01:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=113444#p113444</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=113444#p113444"/>
		<title type="html"><![CDATA[Re: Banmasks first without delay and with delay after]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=113444#p113444"><![CDATA[
thank you for your reply CrazyCat , <br><br>ive tried your suggestion and got this error : <br><blockquote class="uncited"><div>can't read "counter": no such variable</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Sat Jan 24, 2026 10:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2026-01-23T19:17:20-04:00</updated>

		<published>2026-01-23T19:17:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=113443#p113443</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=113443#p113443"/>
		<title type="html"><![CDATA[Re: Banmasks first without delay and with delay after]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=113443#p113443"><![CDATA[
Did you try inverting the two lines:<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/atom-one-dark-reasonable.min.css"> <strong>script</strong>  <strong>script</strong> <div class="codebox"><pre><code class="language-tcl">   incr counter 1   after [expr {$counter*4000}] [list  puthelp "MODE $chan -$mode $masks"]</code></pre></div> <strong>script</strong> Become:<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/atom-one-dark-reasonable.min.css"> <strong>script</strong>  <strong>script</strong> <div class="codebox"><pre><code class="language-tcl">   after [expr {$counter*4000}] [list  puthelp "MODE $chan -$mode $masks"]   incr counter 1</code></pre></div> <strong>script</strong> <p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Fri Jan 23, 2026 7:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2026-01-23T13:46:04-04:00</updated>

		<published>2026-01-23T13:46:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=113442#p113442</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=113442#p113442"/>
		<title type="html"><![CDATA[Re: Banmasks first without delay and with delay after]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=113442#p113442"><![CDATA[
Any help with this code?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Fri Jan 23, 2026 1:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2026-01-20T20:53:42-04:00</updated>

		<published>2026-01-20T20:53:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=113441#p113441</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=113441#p113441"/>
		<title type="html"><![CDATA[Banmasks first without delay and with delay after]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=113441#p113441"><![CDATA[
Greetingz,<br><br>is there a way to have the first 6 stacked modes +bbbbbb (or of course if there are less than 6 to send in total) be sent direct without any delay and everything after that <br><div class="codebox"><p>Code: </p><pre><code>proc StackUnbans {chan banlist {max 6}} {         set chan [string tolower $chan]       set count [llength $banlist]      while {$count &gt; 0} {         if {$count&gt; $max} {            set mode [string repeat "b" $max]            set masks [join [lrange $banlist 0 [expr {$max - 1}]]]            set banlist [lrange $banlist $max end]            incr count -$max         } else {            set mode [string repeat "b" $count]            set masks [join $banlist]            set count 0         }             incr counter 1             after [expr {$counter*4000}] [list  puthelp "MODE $chan -$mode $masks"]      }   } </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Tue Jan 20, 2026 8:53 pm</p><hr />
]]></content>
	</entry>
	</feed>
