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

	<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>2007-06-20T07:00:40-04:00</updated>

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

		<entry>
		<author><name><![CDATA[mindcry]]></name></author>
		<updated>2007-06-20T07:00:40-04:00</updated>

		<published>2007-06-20T07:00:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73707#p73707</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73707#p73707"/>
		<title type="html"><![CDATA[improper banmask]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73707#p73707"><![CDATA[
awesome, your code is working.. im currently testing it in DALnet network,<br>currently making some mode lock just as chanserv did (example +nt-pk) and this massban protection is a part of it... thank you very much. <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=8768">mindcry</a> — Wed Jun 20, 2007 7:00 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-06-20T05:45:34-04:00</updated>

		<published>2007-06-20T05:45:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73705#p73705</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73705#p73705"/>
		<title type="html"><![CDATA[improper banmask]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73705#p73705"><![CDATA[
See the linked post for information on repairing whatever script you have that detects bans improperly.<br><br>As for detecting massbans, I'd say first off, you're using the wrong order of arguments in your string match (it's "string match &lt;pattern&gt; &lt;string&gt;"). But since you really don't want any wildcard matching (you just wish to know wether the ban actually is *!*@*, not wether it matches it), you'd be better off using "string compare".<br><br>Might be able to simply use this regular expression instead?<div class="codebox"><p>Code: </p><pre><code>if {[regexp {^\*+(!\*)?(@\*)?(\.\*)*$} $arg]} {#kick evil user}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Wed Jun 20, 2007 5:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2007-06-19T19:56:52-04:00</updated>

		<published>2007-06-19T19:56:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73698#p73698</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73698#p73698"/>
		<title type="html"><![CDATA[improper banmask]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73698#p73698"><![CDATA[
Refer <a href="http://forum.egghelp.org/viewtopic.php?t=8741" class="postlink">Bans</a> post by user.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Tue Jun 19, 2007 7:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mindcry]]></name></author>
		<updated>2007-06-19T19:16:11-04:00</updated>

		<published>2007-06-19T19:16:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73695#p73695</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73695#p73695"/>
		<title type="html"><![CDATA[improper banmask]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73695#p73695"><![CDATA[
i have a problem in my tcl, if ops banning *[*[*!*@* my bot will detect it as *!*@* (massban) and also if ops banning *[a]*!*@* my bot will detect it as *a*!*@* ; how we can solve this thing? anyone can help me?<br><br>here are some code i try to make to solve the problem:<div class="codebox"><p>Code: </p><pre><code>if {[string match $arg "*!*@*"] || [string match $arg "*!*@*.*"] || [string match $arg "*!*@*.*.*"]} {if {([regexp -all {\[|\]|\^|\\|\||\?} $arg] == 0)  &amp;&amp; ![isbotnick $nick] &amp;&amp; ![matchattr $hand n $chan]} { kick nick....</code></pre></div>is this correct code or anybody can makes proper detection for massban mask? pls help me... thx before...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8768">mindcry</a> — Tue Jun 19, 2007 7:16 pm</p><hr />
]]></content>
	</entry>
	</feed>
