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

	<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>2003-06-22T16:50:50-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-06-22T16:26:36-04:00</updated>

		<published>2003-06-22T16:26:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22409#p22409</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22409#p22409"/>
		<title type="html"><![CDATA[Request from caesar for Tsunami.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22409#p22409"><![CDATA[
the script just unlocks the channel randomly. heheh I can't explain it, sometimes it unlocks once, other times three times and sometimes 5 times....<br><br>Don't know but its good <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> I'll test it more thoroughly<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun Jun 22, 2003 4:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-06-22T16:50:50-04:00</updated>

		<published>2003-06-21T18:03:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22335#p22335</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22335#p22335"/>
		<title type="html"><![CDATA[Request from caesar for Tsunami.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22335#p22335"><![CDATA[
Reply Deleted (it wasn't correct) sorry <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=3085">Sir_Fz</a> — Sat Jun 21, 2003 6:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-06-21T17:54:53-04:00</updated>

		<published>2003-06-21T17:54:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22333#p22333</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22333#p22333"/>
		<title type="html"><![CDATA[Request from caesar for Tsunami.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22333#p22333"><![CDATA[
Well using this proc, the bot doesn't unlock at all.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Jun 21, 2003 5:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-06-21T17:26:27-04:00</updated>

		<published>2003-06-21T17:26:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22331#p22331</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22331#p22331"/>
		<title type="html"><![CDATA[Request from caesar for Tsunami.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22331#p22331"><![CDATA[
Replace the unlock proc with this one:<div class="codebox"><p>Code: </p><pre><code>proc tsunlock {args} {  switch -- [lindex $args 0] {    "tlines" {      set cm [getchanmode [strlwr [lindex $args 1]]]       if {([string match {+*\[$::linemds]*\[$::linemds]*} $cm]) &amp;&amp; ([llength [split $cm]] &gt;= 1)} {        putquick "MODE [strlwr [lindex $args 1]] -$::linemds"        return      }     }    "tnotc" {      set cm [getchanmode [strlwr [lindex $args 1]]]       if {([string match {+*\[$::notcmds]*\[$::notcmds]*} $cm]) &amp;&amp; ([llength [split $cm]] &gt;= 1)} {        putquick "MODE [strlwr [lindex $args 1]] -$::notcmds"        return      }    }  }}</code></pre></div>and see if this helps..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sat Jun 21, 2003 5:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-06-21T17:20:01-04:00</updated>

		<published>2003-06-21T17:20:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22330#p22330</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22330#p22330"/>
		<title type="html"><![CDATA[Request from caesar for Tsunami.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22330#p22330"><![CDATA[
Script:<blockquote class="uncited"><div># tsunami.tcl<br># version 0.3<br># caesar &lt;<a href="mailto:cezarica@prietenii.com">cezarica@prietenii.com</a>&gt;</div></blockquote>And I'm sure I removed the old one and rehashed+restarted the bot before I tested the script:<blockquote class="uncited"><div> · · Joins: h7378 [ ~q1926@80.84.128.143] - Clones from *!*@80.84.128.143 (h7378 q5920 w400[3])<br> · · Performing custom penalty on h7378 about join.<br> · · Joins: d8486 [ ~f5209@80.84.128.148] - Clones from *!*@80.84.128.148 (d8486 r648 w336[3])<br> « h7378 » JaZNoTJaZNoTJaZNoTJaZNoTJaZNoTJaZNoTJaZNoTJaZNoTJaZNoTJaZNoTJaZNoTJaZNoTJaZNoTJaZNoTJaZNoTJaZNoTJaZNoTJaZNoTJaZNoTJaZNoTJaZNoTJaZNoTJaZNoTJaZNoTJaZNoT<br> « r648 » JaZNoTJaZNoTJaZNoTJaZNoTJaZNoTJaZNoTJaZNoTJaZNoTJaZNoTJaZNoTJaZNoTJaZNoTJaZNoTJaZNoTJaZNoTJaZNoTJaZNoTJaZNoTJaZNoTJaZNoTJaZNoTJaZNoTJaZNoTJaZNoTJaZNoT<br> · · ChanMode: @Laged sets mode [ +mR ]<br> · · Kicks: d8486 was kicked from #web4u by [ @Laged ] : [ Codes/LongLine Tsunami flooder - Banned 5mins. ]<br>*** Laged sets mode: +b *!*@80.84.128.148<br>*** q5920 was kicked by Laged (Codes/LongLine Tsunami flooder - Banned 5mins.)<br> · · Kicks: w400 was kicked from #web4u by [ @Laged ] : [ banned: Codes/LongLine Tsunami flooder - Banned 5mins. ]<br> · · ChanMode: @Laged sets mode [ -mR ]<br> · · ChanMode: @Laged sets mode [ -mR ]<br> · · ChanMode: @Laged sets mode [ -mR ]</div></blockquote>and I have also concluded that if the bot locks once, it unlocks 3 times.<br>If the bot locks twice, it unlocks 4 or six times.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Jun 21, 2003 5:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-06-21T16:38:10-04:00</updated>

		<published>2003-06-21T16:38:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22329#p22329</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22329#p22329"/>
		<title type="html"><![CDATA[Request from caesar for Tsunami.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22329#p22329"><![CDATA[
Are you absolutly shure you got the latest version (0.3) and replaced and also removed + unloaded the older versions befor loading the new one? Also, if it's possible please do give me an exaple how did he locked and unlocked the channel more than once. In my tests he locked and unlocked it only once..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sat Jun 21, 2003 4:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-06-21T16:19:59-04:00</updated>

		<published>2003-06-21T16:19:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22327#p22327</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22327#p22327"/>
		<title type="html"><![CDATA[Request from caesar for Tsunami.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22327#p22327"><![CDATA[
Well man, the locking is good (2 time maximum if the flood is big)<br><br>But the unlocking is annoying, it unlocks for like 5 or 6 times.<br>can u make it like, if mode set by bot for tsunami, then bot unlocks once.<br>or something like that ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Jun 21, 2003 4:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-06-21T14:26:00-04:00</updated>

		<published>2003-06-21T14:26:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22323#p22323</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22323#p22323"/>
		<title type="html"><![CDATA[Request from caesar for Tsunami.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22323#p22323"><![CDATA[
The *chanmode* confused me a bit. Anyway, fixed it, added what you've asked for. Get the latest version from <a href="http://www.r0x0ring.com/" class="postlink">here</a>.. Thank you for reporting the bug.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sat Jun 21, 2003 2:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-06-21T11:12:12-04:00</updated>

		<published>2003-06-21T11:12:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22319#p22319</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22319#p22319"/>
		<title type="html"><![CDATA[Request from caesar for Tsunami.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22319#p22319"><![CDATA[
Well The script is very very good <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> it worked for both Notice Tsunami and longline tsunami floods.<br>But there's a little problem, the bot makes a mode flood like:<blockquote class="uncited"><div> · · ChanMode: @Laged sets mode [ +mR ]<br> · · ChanMode: @Laged sets mode [ +mR ]<br>(<strong class="text-strong">after unlock time</strong>)<br> · · ChanMode: @Laged sets mode [ -mR ]<br> · · ChanMode: @Laged sets mode [ -mR ]<br> · · ChanMode: @Laged sets mode [ -mR ]</div></blockquote>can u fix it in a way that it locks the channel once and unlocks once.<br><br>or atleast unlock the channel only once please  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"> <br><br>Thank you again for this good script <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=3085">Sir_Fz</a> — Sat Jun 21, 2003 11:12 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-06-21T06:10:46-04:00</updated>

		<published>2003-06-21T06:10:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22313#p22313</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22313#p22313"/>
		<title type="html"><![CDATA[Request from caesar for Tsunami.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22313#p22313"><![CDATA[
Thanx <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> this version looks nice, I'll try it when I sit on my PC and tell u if there's something wrong ot not working. <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=3085">Sir_Fz</a> — Sat Jun 21, 2003 6:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-06-20T14:25:35-04:00</updated>

		<published>2003-06-20T14:25:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22297#p22297</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22297#p22297"/>
		<title type="html"><![CDATA[Request from caesar for Tsunami.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22297#p22297"><![CDATA[
Get the new version of the script from <a href="http://www.r0x0ring.com/" class="postlink">here</a>.. Also, please do tell me if you notice something wrong. Thank you.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri Jun 20, 2003 2:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-06-19T04:01:02-04:00</updated>

		<published>2003-06-19T04:01:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22191#p22191</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22191#p22191"/>
		<title type="html"><![CDATA[Request from caesar for Tsunami.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22191#p22191"><![CDATA[
Well I always use Sentinel, its the most important script for botnet floods.<br>but u must put high numbers for it to trigger (for example 12:20 - the seconds must be in the range of 20-60 so the script woud find the flooders)<br><br>I liked Tsunami.tcl cuz u can put low triggers, I just want it to detect on notice too.<br><br>thanx <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=3085">Sir_Fz</a> — Thu Jun 19, 2003 4:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-06-18T15:43:34-04:00</updated>

		<published>2003-06-18T15:43:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22154#p22154</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22154#p22154"/>
		<title type="html"><![CDATA[Request from caesar for Tsunami.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22154#p22154"><![CDATA[
I may have a hint, anyway, better stick to Sentitel, since is a real protection thing when the tsunami.tcl was practicaly a test, wanted to see if I can do something like that. Never intentioned to make it public.. oh well, Sentinel is more leet than mine so use it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed Jun 18, 2003 3:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-06-18T11:25:46-04:00</updated>

		<published>2003-06-18T11:25:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22132#p22132</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22132#p22132"/>
		<title type="html"><![CDATA[Request from caesar for Tsunami.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22132#p22132"><![CDATA[
Well Sentinel worked but your code didn't do anything.<br>It didn't give any errors though. can u find an explanation for this ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Wed Jun 18, 2003 11:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-06-18T09:10:44-04:00</updated>

		<published>2003-06-18T09:10:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22119#p22119</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22119#p22119"/>
		<title type="html"><![CDATA[Request from caesar for Tsunami.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22119#p22119"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>### "x" notices sent to channel in "y" seconds will lock the channel for "z" minutes"set ntl 5:3:60### What channel modes do you want to be used when locking the channel?set modes "mr"### How the ban reason should sound like?set ntcbreas "Some reason here.."### For how many minutes the flooder should be banned?set ntctime 5######## Done with configurations, do not edit past here unless you know TCL!##### binds #bind notc - * chan:noticebind part - * notice:part# stuff #set blist ""# array fix #foreach dest [channels] {  set ntc([strlwr $dest]) 0}# notice? #proc chan:notice {nick uhost hand text dest} {  global ntc blist  if {[lindex [split $dest "@"] 0] == $::botnick || [lindex [split $dest "@"] 1] != ""} {    return  }  set cm [getchanmode [strlwr $dest]]     if {(([string match {+*[$::modes]*[::modes]*} $cm]) &amp;&amp; ([llength [split $::modes]] == 1)) || (([string match {+*[::modes]*[::modes]* *} $cm]) &amp;&amp; ([length [split $cm]] &gt; 1))} { return }  if {![info exists ntc([strlwr $dest])]} { set ntc([strlwr $dest]) 0 }  lappend blist [strlwr $nick]  set nonotc [lindex [split $::ntl ":"] 0]  set insec [lindex [split $::ntl ":"] 1]  set unlockin [lindex [split $::ntl ":"] 2]  incr ntc([strlwr $dest])  utimer $insec [list reset [strlwr $dest]]  utimer $insec [list remove [strlwr $uhost]]  if {$ntc([strlwr $dest]) &gt;= $nonotc} {    putquick "MODE [strlwr $dest] +$::modes" -next    foreach luser $blist {      set mask "*!*@[lindex [split [getchanhost $luser [strlwr $dest]] @] 1]"      newchanban [strlwr $dest] $mask $::botnick $::ntcbreas $::ntctime    }    utimer $unlockin [list unlock [strlwr $dest]]  }}# reset #proc reset {dest} {   global ntc  incr ntc([strlwr $dest]) -1  return}# remove #proc remove {nick} {   global blist  set index [lsearch -exact $blist [strlwr $nick]]   set blist [lreplace $blist $index $index]  return}# unlock #proc unlock {dest} {  putquick "MODE [strlwr $dest] -$::modes"  return}# array remove #proc notice:part {nick uhost hand chan msg} {  global ntc  if {$nick != $::botnick} {    return  }  foreach arr_part [array names ntc] {    if {[string match [strlwr $chan] $arr_part]} {      array unset ntc [strlwr $chan]    }  }}</code></pre></div>I've tested it and seemed to be working fine. Let me know if something is not working properly.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed Jun 18, 2003 9:10 am</p><hr />
]]></content>
	</entry>
	</feed>
