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

	<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>2021-04-23T02:20:29-04:00</updated>

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

		<entry>
		<author><name><![CDATA[geek]]></name></author>
		<updated>2021-04-23T02:20:29-04:00</updated>

		<published>2021-04-23T02:20:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109770#p109770</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109770#p109770"/>
		<title type="html"><![CDATA[very little modification]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109770#p109770"><![CDATA[
thanks @CrazyCat!<br><br><br>I use eggdrop1.8.4 but thanks for letting me know about new matchattr syntax<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10286">geek</a> — Fri Apr 23, 2021 2:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2021-04-22T17:38:09-04:00</updated>

		<published>2021-04-22T17:38:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109767#p109767</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109767#p109767"/>
		<title type="html"><![CDATA[very little modification]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109767#p109767"><![CDATA[
Seems quite correct, but if you use eggdrop 1.9, have a look to <a href="https://github.com/eggheads/eggdrop/blob/develop/doc/tcl-commands.doc#L370-L421" class="postlink">matchattr</a>:<div class="codebox"><p>Code: </p><pre><code>if {![onchan $nick $chan] || [isop $nick $chan] || [matchattr $hand +f|+f $chan]} {return 0}</code></pre></div>And I don't think it will slow down the procedure<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Thu Apr 22, 2021 5:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[geek]]></name></author>
		<updated>2021-04-22T16:43:30-04:00</updated>

		<published>2021-04-22T16:43:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109766#p109766</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109766#p109766"/>
		<title type="html"><![CDATA[very little modification]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109766#p109766"><![CDATA[
hi, I need to mod <span style="text-decoration:underline"><a href="http://www.egghelp.org/netbots/doc_components.htm#sentinel" class="postlink">sentinel.tcl</a></span> detection of LINE/TEXT flood, to exempt users with "f" flag<br>script already don't ban f flag users, but I would like their lines are excluded <span style="text-decoration:underline">from count of</span> lines/text<br><br>script is <span style="text-decoration:underline"><a href="https://pastebin.com/iGJaBSwb" class="postlink">here</a></span><br><br><br>I think to modify proc sl_avflood line 233 of pastebin<br>from<div class="codebox"><p>Code: </p><pre><code>if {![onchan $nick $chan] || [isop $nick $chan]} {return 0}</code></pre></div>to<div class="codebox"><p>Code: </p><pre><code>if {![onchan $nick $chan] || [isop $nick $chan] || [matchattr $hand f|f $chan]} {return 0}</code></pre></div><br>is this the correct way?<br>and does this slow down too much the procedure?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10286">geek</a> — Thu Apr 22, 2021 4:43 pm</p><hr />
]]></content>
	</entry>
	</feed>
