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

	<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>2013-12-18T06:46:11-04:00</updated>

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

		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2013-12-18T06:46:11-04:00</updated>

		<published>2013-12-18T06:46:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102341#p102341</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102341#p102341"/>
		<title type="html"><![CDATA[After split my bot put ban *!*@*]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102341#p102341"><![CDATA[
No wonder it's misfiring. Try with this:<div class="codebox"><p>Code: </p><pre><code>bind join - "*" badidentproc badident {nick host hand chan} {if {[matchattr $hand X]} {putlog "14Защитен потребител:15 $nick ($host)" return 0}if {[isbotnick $nick] || ![botisop $chan]} returnif {[regexp {^~[a-z]{1}[0-9]{2,5}$} [lindex [split $host @] 0]]} {set banMask "*!*@[lindex [split $host @] 1]"if {![string match -nocase $banMask $::botname]} {newchanban $chan $banMask $::botnick "proxyta sa zabraneni" 60}}}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed Dec 18, 2013 6:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Al]]></name></author>
		<updated>2013-12-18T05:42:32-04:00</updated>

		<published>2013-12-18T05:42:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102339#p102339</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102339#p102339"/>
		<title type="html"><![CDATA[After split my bot put ban *!*@*]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102339#p102339"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind join - "*" badident proc badident {nick host hand chan} { } if {[matchattr $hand X]} {   putlog "14Защитен потребител:15 $nick ($host)"   return 0 }    if {![isbotnick $nick] &amp;&amp; [botisop $chan]} {     if {[regexp {^~[a-z]{1}[0-9]{2,5}$} [lindex [split $host @] 0]]} {      set banMask "*!*@[lindex [split $host @] 1]"        if {![string match -nocase $banMask $::botname]} {    newchanban $chan $banMask $::botnick "proxyta sa zabraneni" 60 } </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10747">Al</a> — Wed Dec 18, 2013 5:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2013-12-18T02:22:34-04:00</updated>

		<published>2013-12-18T02:22:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102338#p102338</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102338#p102338"/>
		<title type="html"><![CDATA[After split my bot put ban *!*@*]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102338#p102338"><![CDATA[
How dose the code look like now? It shouldn't give you that error..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed Dec 18, 2013 2:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Al]]></name></author>
		<updated>2013-12-17T12:34:32-04:00</updated>

		<published>2013-12-17T12:34:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102336#p102336</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102336#p102336"/>
		<title type="html"><![CDATA[After split my bot put ban *!*@*]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102336#p102336"><![CDATA[
<blockquote class="uncited"><div>can't read "chan": no such variable<br>    while executing<br>"botisop $chan"<br>    invoked from within<br>"if {![isbotnick $nick] &amp;&amp; [botisop $chan]} {<br>    if {[regexp {^~[a-z]{1}[0-9]{2,5}$} [lindex [split $host @] 0]]} {<br>     set banMask "*!*@[lindex [spl..."<br>    (file "scripts/ident.tcl" line <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cool.gif" width="15" height="15" alt="8)" title="Cool"><br>    invoked from within<br>"source scripts/ident.tcl"</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10747">Al</a> — Tue Dec 17, 2013 12:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2013-12-17T02:18:19-04:00</updated>

		<published>2013-12-17T02:18:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102335#p102335</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102335#p102335"/>
		<title type="html"><![CDATA[After split my bot put ban *!*@*]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102335#p102335"><![CDATA[
Most likely it doesn't find find any host to ban.<br><br>A quick fix would be replacing:<div class="codebox"><p>Code: </p><pre><code>newchanban $chan *!*@[lindex [split $host @] 1] $::botnick "proxyta sa zabraneni" 60 </code></pre></div>with:<div class="codebox"><p>Code: </p><pre><code>set banMask "*!*@[lindex [split $host @] 1]"if {![string match -nocase $banMask $::botname]} {newchanban $chan $banMask $::botnick "proxyta sa zabraneni" 60}</code></pre></div>that will match the ban with it's host. the *!*@* will match him and thus avoid banning itself.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Tue Dec 17, 2013 2:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Al]]></name></author>
		<updated>2013-12-16T07:50:09-04:00</updated>

		<published>2013-12-16T07:50:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102332#p102332</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102332#p102332"/>
		<title type="html"><![CDATA[After split my bot put ban *!*@*]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102332#p102332"><![CDATA[
After the split of one of the servers, and when he is back online, my bot decided to put a ban on this mask *! * @ *.<br>I looked all your tcl`s seemingly everything is fine<br>bother me only one tcl.<br>Eggdrop version:1.6.21 <br><div class="codebox"><p>Code: </p><pre><code>bind join - "*" badidentproc badident {nick host hand chan} { if {[matchattr $hand X]} {  putlog "14Защитен потребител:15 $nick ($host)"   return 0}   if {![isbotnick $nick] &amp;&amp; [botisop $chan]} {    if {[regexp {^~[a-z]{1}[0-9]{2,5}$} [lindex [split $host @] 0]]} {      newchanban $chan *!*@[lindex [split $host @] 1] $::botnick "proxyta sa zabraneni" 60      }   }} </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10747">Al</a> — Mon Dec 16, 2013 7:50 am</p><hr />
]]></content>
	</entry>
	</feed>
