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

	<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-02-12T09:05:02-04:00</updated>

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

		<entry>
		<author><name><![CDATA[hellohello]]></name></author>
		<updated>2007-02-12T09:05:02-04:00</updated>

		<published>2007-02-12T09:05:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70403#p70403</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70403#p70403"/>
		<title type="html"><![CDATA[Ban nicks with ugly characters]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70403#p70403"><![CDATA[
Yeah, works like a charm. Thanks!!  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cool.gif" width="15" height="15" alt="8)" title="Cool"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8691">hellohello</a> — Mon Feb 12, 2007 9:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-02-12T08:42:36-04:00</updated>

		<published>2007-02-12T08:42:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70400#p70400</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70400#p70400"/>
		<title type="html"><![CDATA[Ban nicks with ugly characters]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70400#p70400"><![CDATA[
Sorry, my bad;<br>bindings need to be something like this:<div class="codebox"><p>Code: </p><pre><code>bind nick - "% *\\\\*" nick:badnickbind join - "% *\\\\*!*@*" join:badnick</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Mon Feb 12, 2007 8:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[hellohello]]></name></author>
		<updated>2007-02-12T08:20:08-04:00</updated>

		<published>2007-02-12T08:20:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70399#p70399</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70399#p70399"/>
		<title type="html"><![CDATA[Ban nicks with ugly characters]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70399#p70399"><![CDATA[
I added a user to the bots and gave it a global +f flag, after I removed the 'f' flag from the script. This to prevent 'join flood' messages when testing. It still doesn't work...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8691">hellohello</a> — Mon Feb 12, 2007 8:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-02-11T21:44:08-04:00</updated>

		<published>2007-02-11T21:44:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70392#p70392</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70392#p70392"/>
		<title type="html"><![CDATA[Ban nicks with ugly characters]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70392#p70392"><![CDATA[
Current code will not ban people who are recognized as "friend", "op", "master", or "owner".<br>Do you have problems with random users, or just the ones above?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sun Feb 11, 2007 9:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[hellohello]]></name></author>
		<updated>2007-02-11T14:15:37-04:00</updated>

		<published>2007-02-11T14:15:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70385#p70385</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70385#p70385"/>
		<title type="html"><![CDATA[Ban nicks with ugly characters]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70385#p70385"><![CDATA[
Hey there, thanks for the help... I couldn't get them to work though. They don't do anything when a user joins who has \ in his nick.... I don't know why though.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8691">hellohello</a> — Sun Feb 11, 2007 2:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-02-10T12:21:10-04:00</updated>

		<published>2007-02-10T12:21:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70372#p70372</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70372#p70372"/>
		<title type="html"><![CDATA[Ban nicks with ugly characters]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70372#p70372"><![CDATA[
Something like this should do the trick:<div class="codebox"><p>Code: </p><pre><code>#Mask is matched against "#channel nick!user@host", % matches any single word (in this case the channel)#Replace % if you wish to limit this script to only operate on a single channelbind join - "% *\\*!*@*" join:badnickproc join:badnick {nick host hand chan} {#Make sure we don't ban friendly people (owner, master, op, or friend) if {[matchattr $hand +fomn| $chan]} {return 1} newchanban $chan "*!$host" $::botnick "Bad nickname, please try again." 1}</code></pre></div>Edit:<br>To clarify, this will only kick ppl with "bad nicks" when they join the channel. It will not check when ppl change nicknames within the channel.<br>To handle nick-changing, add something like this:<div class="codebox"><p>Code: </p><pre><code>#Mask is matched against "#channel newnick", % matches any single word (in this case the channel)#Replace % if you wish to limit this script to only operate on a single channelbind nick - "% *\\*" nick:badnickproc nick:badnick {nick host hand chan newnick} {#Make sure we don't ban friendly people (owner, master, op, or friend) if {[matchattr $hand +fomn| $chan]} {return 1} newchanban $chan "*!$host" $::botnick "Bad nickname, please try again." 1}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sat Feb 10, 2007 12:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[hellohello]]></name></author>
		<updated>2007-02-10T10:47:27-04:00</updated>

		<published>2007-02-10T10:47:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70369#p70369</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70369#p70369"/>
		<title type="html"><![CDATA[Ban nicks with ugly characters]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70369#p70369"><![CDATA[
Hi, thanks for the tip, I'm aware of the rfc. However, this ban doesn't work and has been a known bug they just don't want to fix!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8691">hellohello</a> — Sat Feb 10, 2007 10:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2007-02-09T21:04:19-04:00</updated>

		<published>2007-02-09T21:04:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70343#p70343</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70343#p70343"/>
		<title type="html"><![CDATA[Ban nicks with ugly characters]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70343#p70343"><![CDATA[
try banning *|*!*@* (on rfc compliant networks, "|" is the lowercase version of "\")<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Fri Feb 09, 2007 9:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[hellohello]]></name></author>
		<updated>2007-02-09T20:17:36-04:00</updated>

		<published>2007-02-09T20:17:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70340#p70340</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70340#p70340"/>
		<title type="html"><![CDATA[Ban nicks with ugly characters]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70340#p70340"><![CDATA[
I have a script request that hopefully won't be too difficult.<br><br>We would like to ban users that have a \ in their nick. Why not add a banmask? The server we are on ignores the \ due to a current bug, so it must be in the form of *!*user@host with a 1 minute unban period.<br><br>Thank you in advance!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8691">hellohello</a> — Fri Feb 09, 2007 8:17 pm</p><hr />
]]></content>
	</entry>
	</feed>
