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

	<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>2004-08-25T19:18:57-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2004-08-25T19:18:57-04:00</updated>

		<published>2004-08-25T19:18:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40182#p40182</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40182#p40182"/>
		<title type="html"><![CDATA[nick mode script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40182#p40182"><![CDATA[
&lt;snip&gt;<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Wed Aug 25, 2004 7:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[[R]]]></name></author>
		<updated>2004-08-24T11:50:35-04:00</updated>

		<published>2004-08-24T11:50:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40113#p40113</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40113#p40113"/>
		<title type="html"><![CDATA[nick mode script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40113#p40113"><![CDATA[
thx gerat work  <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=4899">[R]</a> — Tue Aug 24, 2004 11:50 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Jil Larner]]></name></author>
		<updated>2004-08-24T11:08:52-04:00</updated>

		<published>2004-08-24T11:08:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40110#p40110</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40110#p40110"/>
		<title type="html"><![CDATA[nick mode script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40110#p40110"><![CDATA[
Ok, i have a tcl script for eggdrop which permit me to ban users who flood nick. But it is individual. n nick change by uhost.<br><div class="codebox"><p>Code: </p><pre><code>bind nick - * scanner:nick# Set limitset flood_nc_limit 9 proc scanner:nick {nick uhost handle channel newnick} {global flood_nc_limit NickChangeCount NickChangeTimeif {[info exists NickChangeTime($uhost)]} {# If last nick change later than 3 minuts, forgetting...if {[expr $NickChangeTime($uhost)+180] &lt; [clock seconds]} {set NickChangeCount($uhost) 0 }}set NickChangeTime($uhost) [clock seconds]if {![info exists NickChangeCount($uhost)]} {set NickChangeCount($uhost) 1} else {# 1 nick change moreincr NickChangeCount($uhost)}if {$NickChangeCount($uhost) &gt;= $flood_nc_limit} {# Limit reached. Putting +Nputserv "MODE $channel +N"timer 5 "putserv \"MODE $channel -N\""}}</code></pre></div>I prefer utimers because i find them more precise. But this sould work<br><br>If you prefer a general way, that should be :<div class="codebox"><p>Code: </p><pre><code># Set limitset flood_nc_limit 9bind nick - * scanner:nick proc scanner:nick {nick uhost handle channel newnick} {global flood_nc_limit NickChangeCount NickChangeTimeif {[info exists NickChangeTime]} {# If last nick change later than 3 minuts, reset count...if {[expr $NickChangeTime+180] &lt; [clock seconds]} {set NickChangeCount 0 }}set NickChangeTime [clock seconds]if {![info exists NickChangeCount]} {set NickChangeCount 1} else {# 1 nick change moreincr NickChangeCount}if {$NickChangeCount &gt;= $flood_nc_limit} {# Limit reached. Putting +Nputserv "MODE $channel +N"timer 5 "putserv \"MODE $channel -N\""}}</code></pre></div>But i didn't test this one.<br><br>[Edit: i added set limit]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5337">Jil Larner</a> — Tue Aug 24, 2004 11:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[[R]]]></name></author>
		<updated>2004-08-24T10:57:25-04:00</updated>

		<published>2004-08-24T10:57:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40109#p40109</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40109#p40109"/>
		<title type="html"><![CDATA[nick mode script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40109#p40109"><![CDATA[
dont work in euirc.. i think<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4899">[R]</a> — Tue Aug 24, 2004 10:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Jil Larner]]></name></author>
		<updated>2004-08-24T10:56:00-04:00</updated>

		<published>2004-08-24T10:56:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40108#p40108</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40108#p40108"/>
		<title type="html"><![CDATA[nick mode script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40108#p40108"><![CDATA[
/mode #chan +f  [10n#N5]:15<br>10 nick change in 15 seconds leads server to put +N for 5 minutes. Is-it good ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5337">Jil Larner</a> — Tue Aug 24, 2004 10:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[[R]]]></name></author>
		<updated>2004-08-24T10:51:24-04:00</updated>

		<published>2004-08-24T10:51:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40107#p40107</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40107#p40107"/>
		<title type="html"><![CDATA[nick mode script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40107#p40107"><![CDATA[
thx thx have u got a script or an idea?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4899">[R]</a> — Tue Aug 24, 2004 10:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Jil Larner]]></name></author>
		<updated>2004-08-24T10:50:13-04:00</updated>

		<published>2004-08-24T10:50:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40106#p40106</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40106#p40106"/>
		<title type="html"><![CDATA[nick mode script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40106#p40106"><![CDATA[
Hi,<br><br>If the IRCd is Unreal, there is the channel mode +f which can set +N mode to stop flood nick. But be careful, if i remember Anope Services pass through and your limit must be good, because in an active channel, nicks can change fast without really flood.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5337">Jil Larner</a> — Tue Aug 24, 2004 10:50 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[[R]]]></name></author>
		<updated>2004-08-24T10:39:25-04:00</updated>

		<published>2004-08-24T10:39:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40104#p40104</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40104#p40104"/>
		<title type="html"><![CDATA[nick mode script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40104#p40104"><![CDATA[
Hello,<br><br>I need a script that sets mode +N when users change their nicks too fast and too often.<br>This mode should only set for 5 minutes...<br>Is that possible? This script stops "psyBNC-nick-change-bug"<br>Have u got an idea?  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> <br><br><strong class="text-strong">Big thx [R]</strong><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4899">[R]</a> — Tue Aug 24, 2004 10:39 am</p><hr />
]]></content>
	</entry>
	</feed>
