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

	<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>2022-01-06T13:17:31-04:00</updated>

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

		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2022-01-06T13:17:31-04:00</updated>

		<published>2022-01-06T13:17:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=110748#p110748</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=110748#p110748"/>
		<title type="html"><![CDATA[wont let me set maxbans on dalnet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=110748#p110748"><![CDATA[
sorry my bad had a moment there <br><br>that seems to have fixed it <br><br>thanks Gents SpiKe^^ Caesar<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Thu Jan 06, 2022 1:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2022-01-06T12:40:49-04:00</updated>

		<published>2022-01-06T12:40:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=110747#p110747</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=110747#p110747"/>
		<title type="html"><![CDATA[wont let me set maxbans on dalnet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=110747#p110747"><![CDATA[
Please do as I said twice and remove the : from your mode line, or replace yours with the one I offered.<br><br>I don't know what else to tell you:)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Thu Jan 06, 2022 12:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2022-01-06T12:41:27-04:00</updated>

		<published>2022-01-06T12:40:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=110746#p110746</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=110746#p110746"/>
		<title type="html"><![CDATA[wont let me set maxbans on dalnet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=110746#p110746"><![CDATA[
In your code you have:<div class="codebox"><p>Code: </p><pre><code>putnow "MODE $chan :+$modex $masks" </code></pre></div>do you notice the : in front of the $modex? It shouldn't be there. Our guess is that it might be the cause of the issues you are experiencing. <br><br>Btw, why not stick with <em class="text-italics">pushmode</em> and why bother changing the function name and variables from original code? Asking for my pure curiosity. <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=187">caesar</a> — Thu Jan 06, 2022 12:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2022-01-06T12:32:56-04:00</updated>

		<published>2022-01-06T12:32:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=110745#p110745</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=110745#p110745"/>
		<title type="html"><![CDATA[wont let me set maxbans on dalnet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=110745#p110745"><![CDATA[
no it doesnt seem to work proper it sets all kinds of channel modes and not the bans its suppose too<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Thu Jan 06, 2022 12:32 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2022-01-06T11:54:34-04:00</updated>

		<published>2022-01-06T11:54:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=110743#p110743</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=110743#p110743"/>
		<title type="html"><![CDATA[wont let me set maxbans on dalnet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=110743#p110743"><![CDATA[
I will assume you have the script working now?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Thu Jan 06, 2022 11:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2022-01-06T11:53:21-04:00</updated>

		<published>2022-01-06T11:53:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=110742#p110742</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=110742#p110742"/>
		<title type="html"><![CDATA[wont let me set maxbans on dalnet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=110742#p110742"><![CDATA[
im not sure i understand what you mean spike^^ ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Thu Jan 06, 2022 11:53 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2022-01-06T11:33:20-04:00</updated>

		<published>2022-01-06T11:33:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=110741#p110741</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=110741#p110741"/>
		<title type="html"><![CDATA[wont let me set maxbans on dalnet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=110741#p110741"><![CDATA[
Duh.<br>Copy your examples exactly, neatness counts...<div class="codebox"><p>Code: </p><pre><code>putnow "MODE $chan +$modex $masks" </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Thu Jan 06, 2022 11:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2022-01-06T10:43:17-04:00</updated>

		<published>2022-01-06T10:43:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=110739#p110739</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=110739#p110739"/>
		<title type="html"><![CDATA[wont let me set maxbans on dalnet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=110739#p110739"><![CDATA[
<blockquote class="uncited"><div>why the extra : in the mode command¿</div></blockquote><br><br>i dont see the extra : tho<blockquote class="uncited"><div> putnow "MODE $chan :+$modex $masks" </div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Thu Jan 06, 2022 10:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2022-01-06T00:47:09-04:00</updated>

		<published>2022-01-06T00:47:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=110738#p110738</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=110738#p110738"/>
		<title type="html"><![CDATA[wont let me set maxbans on dalnet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=110738#p110738"><![CDATA[
why the extra : in the mode command¿<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Thu Jan 06, 2022 12:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2022-01-03T21:12:31-04:00</updated>

		<published>2022-01-03T21:12:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=110737#p110737</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=110737#p110737"/>
		<title type="html"><![CDATA[wont let me set maxbans on dalnet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=110737#p110737"><![CDATA[
im testing this badnick tcl on dalnet and it seems the message to channel outputs as expected using max allowed modes per line  wich on dalnet is 6<br>yet the ban part sets all kinds of channel modes except the bans and i cant figure why <br><br><div class="codebox"><p>Code: </p><pre><code>bind pub -|o !n pub:badnickbanX7000proc pub:badnickbanX7000 {nick host hand chan text} { global botnick                set reason [join [lrange [split $text "."] 1 end] "."]        set text  [lindex [split $text "."] 0]        if {$reason eq ""} { set reason "PLease Change Your NickName By Using \------&gt; /NICK New-NICK And Rejoin By Using \------&gt; /JOIN $chan ...... thank you." }foreach user $text {if {![onchan $user $chan]} {lappend umasks *$user*!*@* } else {     lappend umasks *$user*!*@* }}        if {[info exists umasks]} {  stackBans3zXX $chan $umasks }} proc stackBans3zXX {chan banlist {max 6}} {      set count [llength $banlist]      while {$count &gt; 0} {         if {$count&gt; $max} {            set modex [string repeat "b" $max]            set masks [join [lrange $banlist 0 [expr {$max - 1}]]]            set banlist [lrange $banlist $max end]            incr count -$max            incr total $max         } else {            set modex [string repeat "b" $count]            set masks [join $banlist]            incr total $count            set count 0         }         putnow "privmsg $chan :+$modex $masks"         putnow "MODE $chan :+$modex $masks"      }   }</code></pre></div><blockquote class="uncited"><div>02:06:23 &lt;@Cappuccino&gt; !n Archer Barkley Behlke Bower Calan Cerell Donella Geldens Langdon Lion Meagan Naoma Ophelie Paine Petuu Piwowar Plossl Salmon Wachtel Wang<br>02:06:23 -HawkONE- : +bbbbbb *Archer*!*@* *Barkley*!*@* *Behlke*!*@* *Bower*!*@* *Calan*!*@* *Cerell*!*@* (DALnet)<br>02:06:23  @HawkONE  Sets Mode on  #Questions-ReLay  to:  +cn <br>02:06:23 -HawkONE- : +bbbbbb *Donella*!*@* *Geldens*!*@* *Langdon*!*@* *Lion*!*@* *Meagan*!*@* *Naoma*!*@* (DALnet)<br>02:06:23  @HawkONE  Sets Mode on  #Questions-ReLay  to:  +nsiMm <br>02:06:23 -HawkONE- : +bbbbbb *Ophelie*!*@* *Paine*!*@* *Petuu*!*@* *Piwowar*!*@* *Plossl*!*@* *Salmon*!*@* (DALnet)<br>02:06:24  @HawkONE  Sets Mode on  #Questions-ReLay  to:  +piPntsSm <br>02:06:26 -HawkONE- : +bb *Wachtel*!*@* *Wang*!*@* (DALnet)<br>02:06:28  @HawkONE  Sets Mode on  #Questions-ReLay  to:  +ctn </div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Mon Jan 03, 2022 9:12 pm</p><hr />
]]></content>
	</entry>
	</feed>
