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

	<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-01-09T10:55:50-04:00</updated>

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

		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2021-01-09T10:55:50-04:00</updated>

		<published>2021-01-09T10:55:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109327#p109327</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109327#p109327"/>
		<title type="html"><![CDATA[anti mass highlight per stored host]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109327#p109327"><![CDATA[
tested few times again and it seemed ok thanks SpiKe^^<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Sat Jan 09, 2021 10:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2021-01-09T10:22:48-04:00</updated>

		<published>2021-01-09T10:22:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109326#p109326</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109326#p109326"/>
		<title type="html"><![CDATA[anti mass highlight per stored host]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109326#p109326"><![CDATA[
i did a test and it didnt trigger the tcl at all<br><br><a href="https://pastebin.com/bu11Kqpc" class="postlink">https://pastebin.com/bu11Kqpc</a><br><br>i tested with 30 nicks and none triggered the tcl<br><br>i used pushmode to make sure modes gets compressed to set all ban modes<br><div class="codebox"><p>Code: </p><pre><code>proc check:mass-highlight {nick host hand chan text} {  if {[isatleasthalfopX8ZERO $nick $chan]} { return 0 }  set text [split $text];  set hits 0;  foreach piece $text {    if {[onchan $piece $chan]} {      incr hits;    }  }  if {$hits &gt;= 5} { if {[isvoice $nick $chan]} { pushmode2 $chan -v $nick }    pushmode $chan +b m:[maskhost $host 2]  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Sat Jan 09, 2021 10:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2021-01-08T18:25:28-04:00</updated>

		<published>2021-01-08T18:25:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109325#p109325</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109325#p109325"/>
		<title type="html"><![CDATA[anti mass highlight per stored host]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109325#p109325"><![CDATA[
Hm ok i stress tested it and it seemed to set only certain bans not on all nicks that triggered it and if set by like 30 nicks or more it does nothing at all<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Fri Jan 08, 2021 6:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2021-01-08T17:34:48-04:00</updated>

		<published>2021-01-08T17:34:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109324#p109324</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109324#p109324"/>
		<title type="html"><![CDATA[anti mass highlight per stored host]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109324#p109324"><![CDATA[
Nothing in the above code would cause the script to "only work if triggered by 1 user at a time"<br><br>It processes each line of text to the channel as if nothing happened before or after it:)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Fri Jan 08, 2021 5:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2021-01-08T12:13:07-04:00</updated>

		<published>2021-01-08T12:13:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109323#p109323</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109323#p109323"/>
		<title type="html"><![CDATA[anti mass highlight per stored host]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109323#p109323"><![CDATA[
i took this small code from  here <a href="http://forum.egghelp.org/viewtopic.php?p=71356" class="postlink">http://forum.egghelp.org/viewtopic.php?p=71356</a> on the forum to tackle mass highlight abuse<br>exept it only seems to work if triggered by 1 user at a time if more than like 10 or more users type mass highlights of nicks it it doesnt seem to trigger:<br><br><div class="codebox"><p>Code: </p><pre><code>bind PUBM -|- * check:hilightproc check:hilight {nick host h chan arg} {  set arg [split $arg];  set hits 0;  foreach piece $arg {    if {[onchan $piece $chan]} {      incr hits;    }  }  if {$hits &gt;= 5} {    putquick "MODE $chan +b [maskhost $host 2]"    putquick "KICK $chan $nick :Problem solved."  }}</code></pre></div>i wonder how this could be edited to check per host of nicks that triggered it<br>to make sure it triggers no matter how much nicks triggered it<br><br>thanks in advance.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Fri Jan 08, 2021 12:13 pm</p><hr />
]]></content>
	</entry>
	</feed>
