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

	<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-12-13T22:45:24-04:00</updated>

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

		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-12-13T22:45:24-04:00</updated>

		<published>2004-12-13T22:45:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43982#p43982</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43982#p43982"/>
		<title type="html"><![CDATA[kickin ops?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43982#p43982"><![CDATA[
<blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>bind flud - * myFlood proc myFlood {n u h t c} {expr {[validchan $c]&amp;&amp;[isop $n $c]}}</code></pre></div>I've no idea what $c is for a msg flood, so I added that 'validchan' check instead of testing it <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"></div></blockquote>you were quite right to add [validchan] check <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"> for flud types "msg" &amp; "ctcp" it passes "*" as channel:<div class="codebox"><p>Code: </p><pre><code>  if (lastmsgs[which] &gt;= thr) { /* FLOOD */    /* Reset counters */    lastmsgs[which] = 0;    lastmsgtime[which] = 0;    lastmsghost[which][0] = 0;    u = get_user_by_host(from);    if (check_tcl_flud(floodnick, floodhost, u, ftype, "*"))      return 0;    /* Private msg */    simple_sprintf(h, "*!*@%s", p);    putlog(LOG_MISC, "*", IRC_FLOODIGNORE1, p);    addignore(h, botnetnick, (which == FLOOD_CTCP) ? "CTCP flood" :              "MSG/NOTICE flood", now + (60 * ignore_time));  }</code></pre></div>your solution is simple and elegant, I like it<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Mon Dec 13, 2004 10:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-12-13T21:41:47-04:00</updated>

		<published>2004-12-13T21:41:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43978#p43978</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43978#p43978"/>
		<title type="html"><![CDATA[kickin ops?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43978#p43978"><![CDATA[
I talked about that with BarkerJr he said flud has 3-4 types of settings of which one is a private message out of the other channel join, channel flood and etc. The extra var of $chan in bind flud msg should be added for it to work, yet we can consider it redundant and not of any use.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Mon Dec 13, 2004 9:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-12-13T19:46:32-04:00</updated>

		<published>2004-12-13T19:46:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43972#p43972</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43972#p43972"/>
		<title type="html"><![CDATA[kickin ops?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43972#p43972"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind flud - * myFlood proc myFlood {n u h t c} {expr {[validchan $c]&amp;&amp;[isop $n $c]}}</code></pre></div>I've no idea what $c is for a msg flood, so I added that 'validchan' check instead of testing it <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Mon Dec 13, 2004 7:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-12-13T18:29:59-04:00</updated>

		<published>2004-12-13T18:29:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43965#p43965</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43965#p43965"/>
		<title type="html"><![CDATA[kickin ops?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43965#p43965"><![CDATA[
you are right but this isn't what that guy had in mind.... he wants to solve the problem without adding his chanops as bot users<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Mon Dec 13, 2004 6:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[firewall]]></name></author>
		<updated>2004-12-13T17:51:31-04:00</updated>

		<published>2004-12-13T17:51:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43963#p43963</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43963#p43963"/>
		<title type="html"><![CDATA[kickin ops?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43963#p43963"><![CDATA[
You can give him the flag +f, of friend, then, the bot will not kick him, if protectfriends is on.<br>I hope I'm right.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5517">firewall</a> — Mon Dec 13, 2004 5:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-12-13T02:24:41-04:00</updated>

		<published>2004-12-13T02:24:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43933#p43933</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43933#p43933"/>
		<title type="html"><![CDATA[kickin ops?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43933#p43933"><![CDATA[
<blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>.chanset #yourchannel +protectops +protectfriends +dontkickops</code></pre></div></div></blockquote>that won't help, the guy doesn't want to add channel ops as +o users and +dontkickops works on +o botusers only<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Mon Dec 13, 2004 2:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[YooHoo]]></name></author>
		<updated>2004-12-13T02:05:36-04:00</updated>

		<published>2004-12-13T02:05:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43927#p43927</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43927#p43927"/>
		<title type="html"><![CDATA[kickin ops?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43927#p43927"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>.chanset #yourchannel +protectops +protectfriends +dontkickops</code></pre></div>and a healthy dose of <strong class="text-strong">.help chaninfo</strong>   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2706">YooHoo</a> — Mon Dec 13, 2004 2:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-12-13T01:04:25-04:00</updated>

		<published>2004-12-13T01:04:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43922#p43922</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43922#p43922"/>
		<title type="html"><![CDATA[kickin ops?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43922#p43922"><![CDATA[
disable flood protection<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Mon Dec 13, 2004 1:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[newaki]]></name></author>
		<updated>2004-12-13T00:48:24-04:00</updated>

		<published>2004-12-13T00:48:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43921#p43921</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43921#p43921"/>
		<title type="html"><![CDATA[kickin ops?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43921#p43921"><![CDATA[
ok my egg kicks op for "flooding" how can i have it so my egg wont kick ops and voices for floodin?  (with out puttin everyone as a user?)<br><br>Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5725">newaki</a> — Mon Dec 13, 2004 12:48 am</p><hr />
]]></content>
	</entry>
	</feed>
