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

	<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-25T11:32:47-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-06-25T11:32:47-04:00</updated>

		<published>2003-06-25T11:32:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22575#p22575</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22575#p22575"/>
		<title type="html"><![CDATA[notice protection]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22575#p22575"><![CDATA[
Well why don't u download tsunami.tcl <strong class="text-strong">0.3</strong> from <a href="http://www.r0x0ring.com" class="postlink">here</a> and use it, it works for both notice and longline tsunami floods and it has no buggs <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">, just fix the mask u want it to ban. (posted earlier by caesar)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Wed Jun 25, 2003 11:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Doom]]></name></author>
		<updated>2003-06-25T10:31:43-04:00</updated>

		<published>2003-06-25T10:31:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22569#p22569</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22569#p22569"/>
		<title type="html"><![CDATA[notice protection]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22569#p22569"><![CDATA[
<blockquote class="uncited"><div>can't read "val(#channel)": no such element in array</div></blockquote>now i get this , auch <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">  and how to make this to not kick ops?<br><br>and <blockquote class="uncited"><div>16:34:11] *** bot sets mode: -o+b Doom<br>[16:34:11] *** You were kicked by bot (banned:No Channel Notice!! 5 min ban)<br>[16:34:11] *** Attempting to rejoin...<br>[16:34:13] *** ChanServ (<a href="mailto:service@dal.net">service@dal.net</a>) invites you to join #channel<br>[16:34:15] *** Rejoined channel #channel<br>[16:34:16] *** ChanServ sets mode: +o Doom<br>[16:34:17] *** ChanServ sets mode: +o Doom<br>[16:35:32] *** Doom sets mode: +o bot<br>[16:35:32] *** Bot sets mode: -o+b Doom<br>[16:35:32] *** ChanServ sets mode: +o Doom<br>[16:35:33] *** You were kicked by Sandzak (banned:No Channel Notice!! 5 min ban)<br>[16:35:33] *** Attempting to rejoin...</div></blockquote>how to make bot to not ban me again when he get op and dont ban Ops..?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3364">Doom</a> — Wed Jun 25, 2003 10:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-06-25T10:17:45-04:00</updated>

		<published>2003-06-25T10:17:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22568#p22568</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22568#p22568"/>
		<title type="html"><![CDATA[notice protection]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22568#p22568"><![CDATA[
Aghhh.. damn.. replace from:<div class="codebox"><p>Code: </p><pre><code>if {[matchattr $hand f|f $chan]} {</code></pre></div>to:<div class="codebox"><p>Code: </p><pre><code>if {[matchattr $hand f|f $dest]} {</code></pre></div>sorry.. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":-?" title="Confused"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed Jun 25, 2003 10:17 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Doom]]></name></author>
		<updated>2003-06-25T10:09:27-04:00</updated>

		<published>2003-06-25T10:09:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22565#p22565</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22565#p22565"/>
		<title type="html"><![CDATA[notice protection]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22565#p22565"><![CDATA[
i got one more error  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br><br>when someone notices the chan i get " Tcl error [chan:notice]: can't read "chan": no such variable" in the dcc party line<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3364">Doom</a> — Wed Jun 25, 2003 10:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-06-24T02:24:36-04:00</updated>

		<published>2003-06-24T02:24:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22473#p22473</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22473#p22473"/>
		<title type="html"><![CDATA[notice protection]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22473#p22473"><![CDATA[
Oups, yes, that should do fine, forgot one ] ..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Tue Jun 24, 2003 2:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spyda]]></name></author>
		<updated>2003-06-23T23:29:40-04:00</updated>

		<published>2003-06-23T23:29:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22467#p22467</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22467#p22467"/>
		<title type="html"><![CDATA[notice protection]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22467#p22467"><![CDATA[
Quote ceasar..<blockquote class="uncited"><div>set mask [maskhost [getchanhost $luser [strlwr $dest]]</div></blockquote>chage it to..<br><div class="codebox"><p>Code: </p><pre><code>set mask [maskhost [getchanhost $luser [strlwr $dest]]]</code></pre></div>Hope the helps.<br>-----------<br>ThePope<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1731">spyda</a> — Mon Jun 23, 2003 11:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Doom]]></name></author>
		<updated>2003-06-23T19:47:18-04:00</updated>

		<published>2003-06-23T19:47:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22464#p22464</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22464#p22464"/>
		<title type="html"><![CDATA[notice protection]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22464#p22464"><![CDATA[
i got some error in it... <br><br>Tcl error [chan:notice]: missing close-bracket?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3364">Doom</a> — Mon Jun 23, 2003 7:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-06-20T10:44:23-04:00</updated>

		<published>2003-06-20T10:44:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22283#p22283</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22283#p22283"/>
		<title type="html"><![CDATA[notice protection]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22283#p22283"><![CDATA[
I've made it for Sir_Fz in <a href="http://forum.egghelp.org/viewtopic.php?t=4717" class="postlink">this</a> topic. It is designed to lock the channel on x notices in y seconds with z channel modes. Anyway, it needs some changes.. I'll start doing them and make it public or something..<br><br>As for your questions:<br>1. add NickServ and Chanserv as a friend to your bot, then add:<div class="codebox"><p>Code: </p><pre><code>if {[matchattr $hand f|f $chan]} {return}</code></pre></div>before the "set cm [getchanmode [strlwr $dest]]"<br>2. for the banmask replace:<div class="codebox"><p>Code: </p><pre><code>set mask "*!*@[lindex [split [getchanhost $luser [strlwr $dest]] @] 1]" </code></pre></div>with:<div class="codebox"><p>Code: </p><pre><code>set mask [maskhost [getchanhost $luser [strlwr $dest]] </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri Jun 20, 2003 10:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Doom]]></name></author>
		<updated>2003-06-20T09:55:48-04:00</updated>

		<published>2003-06-20T09:55:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22281#p22281</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22281#p22281"/>
		<title type="html"><![CDATA[notice protection]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22281#p22281"><![CDATA[
## <br># "x" notices sent to channel in "y" seconds will lock the channel for "z" minutes" <br>set ntl 1:1:60 <br><br>## <br># What channel modes do you want to be used when locking the channel? <br>set modes "MR" <br><br>## <br># How the ban reason should sound like? <br>set ntcbreas "No Channel Notice!! 5 min ban" <br><br>## <br># For how many minutes the flooder should be banned? <br>set ntctime 5 <br><br># <br>### <br>#### Done with configurations, do not edit past here unless you know TCL! <br>### <br># <br><br># binds # <br>bind notc - * chan:notice <br>bind part - * notice:part <br><br># stuff # <br>set blist "" <br><br># array fix # <br>foreach dest [channels] { <br>  set ntc([strlwr $dest]) 0 <br>} <br><br># notice? # <br>proc chan:notice {nick uhost hand text dest} { <br>  global ntc blist <br>  if {[lindex [split $dest "@"] 0] == $::botnick || [lindex [split $dest "@"] 1] != ""} { <br>    return <br>  } <br>  set cm [getchanmode [strlwr $dest]]    <br>  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 } <br><br>  if {![info exists ntc([strlwr $dest])]} { set ntc([strlwr $dest]) 0 } <br><br>  lappend blist [strlwr $nick] <br>  set nonotc [lindex [split $::ntl ":"] 0] <br>  set insec [lindex [split $::ntl ":"] 1] <br>  set unlockin [lindex [split $::ntl ":"] 2] <br>  incr ntc([strlwr $dest]) <br>  utimer $insec [list reset [strlwr $dest]] <br>  utimer $insec [list remove [strlwr $uhost]] <br>  if {$ntc([strlwr $dest]) &gt;= $nonotc} { <br>    putquick "MODE [strlwr $dest] +$::modes" -next <br>    foreach luser $blist { <br>      set mask "*!*@[lindex [split [getchanhost $luser [strlwr $dest]] @] 1]" <br>      newchanban [strlwr $dest] $mask $::botnick $::ntcbreas $::ntctime <br>    } <br>    utimer $unlockin [list unlock [strlwr $dest]] <br>  } <br>} <br><br># reset # <br>proc reset {dest} { <br>  global ntc <br>  incr ntc([strlwr $dest]) -1 <br>  return <br>} <br><br># remove # <br>proc remove {nick} { <br>  global blist <br>  set index [lsearch -exact $blist [strlwr $nick]] <br>  set blist [lreplace $blist $index $index] <br>  return <br>} <br><br># unlock # <br>proc unlock {dest} { <br>  putquick "MODE [strlwr $dest] -$::modes" <br>  return <br>} <br><br># array remove # <br>proc notice:part {nick uhost hand chan msg} { <br>  global ntc <br>  if {$nick != $::botnick} { <br>    return <br>  } <br>  foreach arr_part [array names ntc] { <br>    if {[string match [strlwr $chan] $arr_part]} { <br>      array unset ntc [strlwr $chan] <br>    } <br>  } <br>} <br><br>-<br>i found this script somewhere on this forum (dont remember what topic it was) so i want to change so scripts ban user on    identd@host and  it dont react on Chanserv/nickserv.?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3364">Doom</a> — Fri Jun 20, 2003 9:55 am</p><hr />
]]></content>
	</entry>
	</feed>
