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

	<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>2005-03-17T18:10:27-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2005-03-17T18:10:27-04:00</updated>

		<published>2005-03-17T18:10:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47801#p47801</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47801#p47801"/>
		<title type="html"><![CDATA[Need help on fight against the floods]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47801#p47801"><![CDATA[
I use the following to take care of consonant nicks and numerical idents:<div class="codebox"><p>Code: </p><pre><code># Use: .chanset #channel +/-spambot to enable/disable spambot.set lock_modes "cmR"set kmsg "Spam Bot: It's been nice knowing you.. well actually, it hasn't."# Set this to the ban mask type you want,#      0 - *!user@host.domain#      1 - *!*user@host.domain#      2 - *!*@host.domain#      3 - *!*user@*.domain#      4 - *!*@*.domain#      5 - nick!user@host.domain#      6 - nick!*user@host.domain#      7 - nick!*@host.domain#      8 - nick!*user@*.domain#      9 - nick!*@*.domain#     You can also specify a type of 10 to 19 which correspond to masks 0 to 9.#     But if the host.domain is a;#       hostname = Instead of using a * wildcard to replace portions of the#                  host.domain, it replaces the numbers in the host.domain with#                  a '?' (question mark) wildcard.#       ip       = It will mask as normal, with no '?' (question mark)#                  replacements as does hostname.#     examples:#       maskhostbytype MC_8!mc8@austin001.rr.com 3 =&gt; *!*mc8@*.rr.com#       maskhostbytype MC_8!mc8@austin001.rr.com 13 =&gt; *!*mc8@austin???.rr.com#     credits:#       mIRC - using its numbering system for [type].#     returns:#       - &lt;nick!user@host.domain&gt; masked accordingly.set ban_type 13############################################################################################## DO NOT EDIT BELOW THIS LINE!! ############################################################################################### Check to see if mc.more_tools script is loaded.if {![info exists mc_moretools(loaded)] } {putloglev o * "*** Can't load Antispam Bot TCL -- mc.more_tools TCL required.";return}setudef flag spambotset unlockin 60bind join - * join:spambot:checkproc join:spambot:check {nick uhost hand chan} {    if {[isbotnick $nick] || [matchattr $hand f|f $chan] || ![botisop $chan] || ![channel get $chan spambot]} {return}    regexp {^([^@]+)} $uhost _ ident    if {[regexp -nocase {^[^aeiou_^-`]{4,}$} $nick] || [regexp {.*[0-9]} $ident] &amp;&amp; ([string length $ident] &gt; 5)} {      putquick "MODE $chan +$::lock_modes" -next      if {[regexp {([0-9]$){1}} $ident]} {set banmask \        "*!*[string range $ident end end]*@*"      } else {set banmask [maskhostbytype $nick!$uhost $::ban_type]}      putquick "MODE $chan +b $banmask" -next      putquick "KICK $chan $nick :$::kmsg"      putquick "notice $nick :$::kmsg"      putloglev c * "Anti Spam Bot: $nick has been kicked from $chan. Consonant Nick or Numerical Ident \[$nick!$ident\]"      utimer $::unlockin [list chan:unlock $chan]    }}### unlockproc chan:unlock {chan} {  set tmp [split [string trim [lindex [split [getchanmode $chan]] 0] "+"] ""]  if {[regexp -all [join [split $::lock_modes ""] "|"] $tmp] == [string length $::lock_modes]} {    putquick "MODE $chan -$::lock_modes" -next  }  return}### End ###</code></pre></div>NOTE: <a href="http://mc.purehype.net/index.tcl?info=More+Tools" class="postlink">More Tools v3.1</a> has to be loaded first.<br><br>For numerical nicks, just change:<div class="codebox"><p>Code: </p><pre><code>[regexp -nocase {^[^aeiou_^-`]{4,}$} $nick]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Thu Mar 17, 2005 6:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Galadhrim]]></name></author>
		<updated>2005-03-17T14:33:16-04:00</updated>

		<published>2005-03-17T14:33:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47793#p47793</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47793#p47793"/>
		<title type="html"><![CDATA[Need help on fight against the floods]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47793#p47793"><![CDATA[
We've had the same problems. The people seem to not like us having a Online Radio Station. I simply banned all their hostmask on the 2nd level: ie *!*@*.myisp.com Seemed to work. It was a temp ban so ppl from that ISP can join later on <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=2999">Galadhrim</a> — Thu Mar 17, 2005 2:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Kurupt]]></name></author>
		<updated>2005-03-17T05:48:12-04:00</updated>

		<published>2005-03-17T05:48:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47782#p47782</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47782#p47782"/>
		<title type="html"><![CDATA[Need help on fight against the floods]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47782#p47782"><![CDATA[
same problem for me the bots start the ident with a lether folowed by numbers i made something like that if the ident start with 1 lether and 2 digits afther do ...<div class="codebox"><p>Code: </p><pre><code>  if {[regexp {^~{0,1}[[:lower:]]\d{2}.*$} [lindex [split $uhost @] 0]]} {</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5355">Kurupt</a> — Thu Mar 17, 2005 5:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2005-03-17T01:22:19-04:00</updated>

		<published>2005-03-17T01:22:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47776#p47776</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47776#p47776"/>
		<title type="html"><![CDATA[Need help on fight against the floods]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47776#p47776"><![CDATA[
This is not an eggdrop or tcl problem. It is just related to which banmask is more efficient against flood bots.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Thu Mar 17, 2005 1:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[finkoisti]]></name></author>
		<updated>2005-03-16T15:44:08-04:00</updated>

		<published>2005-03-16T15:44:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47765#p47765</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47765#p47765"/>
		<title type="html"><![CDATA[Need help on fight against the floods]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47765#p47765"><![CDATA[
I don't think that helps.. because the question mark is one mark ( number or character ) so then te nick or host have to be as long as you have put on the bans....<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6082">finkoisti</a> — Wed Mar 16, 2005 3:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Adrenalin]]></name></author>
		<updated>2005-03-16T14:49:03-04:00</updated>

		<published>2005-03-16T14:49:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47763#p47763</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47763#p47763"/>
		<title type="html"><![CDATA[Need help on fight against the floods]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47763#p47763"><![CDATA[
Same kind of bots flood channel of my country Moldova, but after puting these bans.. I don't seen them again..<br><br>?????!~?0???@*<br>?????!~?1???@*<br>?????!~?2???@*<br>?????!~?3???@*<br>?????!~?4???@*<br>?????!~?5???@*<br>?????!~?6???@*<br>?????!~?7???@*<br>?????!~?8???@*<br>?????!~?9???@*<br><br>Bots from my Network don't have identd, so they all have the ~ in the ident. From your example i see what they don't have the ~, so you can try put these bans.<br><br>?????!?0???@*<br>?????!?1???@*<br>?????!?2???@*<br>?????!?3???@*<br>?????!?4???@*<br>?????!?5???@*<br>?????!?6???@*<br>?????!?7???@*<br>?????!?8???@*<br>?????!?9???@*<br><br>Hope that helps.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5939">Adrenalin</a> — Wed Mar 16, 2005 2:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[finkoisti]]></name></author>
		<updated>2005-03-16T13:41:59-04:00</updated>

		<published>2005-03-16T13:41:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47760#p47760</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47760#p47760"/>
		<title type="html"><![CDATA[Need help on fight against the floods]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47760#p47760"><![CDATA[
In our server we have lot of problem with floods and almoust allways the address and nick is something like this...<br><br>(19:26:40) —› join: (a2328) (<a href="mailto:c3915@1A5B6A8C.F0E56F7E.1991392E.IP">c3915@1A5B6A8C.F0E56F7E.1991392E.IP</a>)<br><br>and that nick part I have fix with one script to ban everyone who has at least two numbers on nick...so in this way.. "*00*" "*01*" "*02*"........"*99*"<br><br>but who to ban those peoples also with their identify part on host??<br>I'm try to use that banmask.tcl script but it doesn't work and I don't know why??<br><br>I have try many ways, if I put ex *!*00*@* it bans everuone one the channel. if I try !*00*@* or just *00*@* it doesn't work at all...<br><br>So how to fix it??<br><br>Please help me fast, I'm really pist of on those flooders....<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6082">finkoisti</a> — Wed Mar 16, 2005 1:41 pm</p><hr />
]]></content>
	</entry>
	</feed>
