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

	<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>2023-10-05T13:47:18-04:00</updated>

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

		<entry>
		<author><name><![CDATA[PeLL]]></name></author>
		<updated>2023-10-05T13:47:18-04:00</updated>

		<published>2023-10-05T13:47:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112205#p112205</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112205#p112205"/>
		<title type="html"><![CDATA[check mass connect]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112205#p112205"><![CDATA[
In inspircd it does read real name on connect .<br>And the clones have that realname 3, 4, 5 random characters in realname.<br>It is to hunt those clones in connecting to the fast server.<br><br>inspircd : <br><div class="codebox"><p>Code: </p><pre><code>if {![regexp -nocase { CONNECT: Client connecting on port (\d+) \(class (\S+)\): ([^!]+)!([^@]+)@(\S+) \(([0-9a-f.:]+)\) \[(.*)\]} $text -&gt; port class nick ident host ip realname]} { return }</code></pre></div>I understand that when connecting I can read those variables.<br>Thank you very much for answering CrazyCat<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11588">PeLL</a> — Thu Oct 05, 2023 1:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2023-10-05T09:39:52-04:00</updated>

		<published>2023-10-05T09:39:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112203#p112203</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112203#p112203"/>
		<title type="html"><![CDATA[check mass connect]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112203#p112203"><![CDATA[
Too dangerous.<br>A lot of pple can have 3-5 characters in their realname.<br><br>And the realname is not present in the connecting notice<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Thu Oct 05, 2023 9:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[PeLL]]></name></author>
		<updated>2023-10-04T14:18:56-04:00</updated>

		<published>2023-10-04T14:18:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112202#p112202</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112202#p112202"/>
		<title type="html"><![CDATA[check mass connect]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112202#p112202"><![CDATA[
Hello everyone, I just read this post and I want to ask if it is possible to modify something...<br>Would it be possible to add glined by reading realname ?<br>clones have 3 - 5 characters in the realname.<br>That can act when connecting the clone to the realname:<br>realname: "???" "????" &lt;- read characters.<br><br>Thank you very much who can support.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11588">PeLL</a> — Wed Oct 04, 2023 2:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Gulio]]></name></author>
		<updated>2021-07-12T10:02:47-04:00</updated>

		<published>2021-07-12T10:02:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=110088#p110088</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=110088#p110088"/>
		<title type="html"><![CDATA[Hello]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=110088#p110088"><![CDATA[
Yes thx a lot for ur time and patience to help i make new request for this add exemp on Request threats<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12887">Gulio</a> — Mon Jul 12, 2021 10:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2021-07-12T09:58:21-04:00</updated>

		<published>2021-07-12T09:58:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=110087#p110087</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=110087#p110087"/>
		<title type="html"><![CDATA[check mass connect]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=110087#p110087"><![CDATA[
It's possible to add exclusions if the info is in the connection string (as in hostmask) with a list of hosts and a simple check.<br><br>It's also possible to disable the process if services are down, but:<br>- it will slow the process or make it random: you'll have to check if the services are up when the bot connects, and check (dis)connections of servers to know if your services are alway up<br>- disabling a security when services are down is weird: it means that loosing a security (services) will make you loose all your securities ? imho, you'd better enforce the security given with your eggdrop when services are down.<br><br>Last point: can't you ask the complete features when starting a thread ? It's simplest to develop a complete script than create a small part and add functionnalities.<br><br>Actually, the script I gave answers to your initial ask, so the job is done.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Mon Jul 12, 2021 9:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Gulio]]></name></author>
		<updated>2021-07-12T08:50:14-04:00</updated>

		<published>2021-07-12T08:50:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=110084#p110084</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=110084#p110084"/>
		<title type="html"><![CDATA[hi]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=110084#p110084"><![CDATA[
CrazyCat 1 question i have<br>Is possible to add exemp user who are connected from webirc or *.irccloud.com and *.mibbit.com  and secure connection to not send msg in channel if i have netsplit or service down ?<br><br>as protected user on connect<div class="codebox"><p>Code: </p><pre><code>if match nicks from "isweb" || "secure" || "*.irccloud.com" || "*.mibbit.com"</code></pre></div>i send this request on Request threat<br><br>CrazyCat thx a lot for ur time and ur patience to help me<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12887">Gulio</a> — Mon Jul 12, 2021 8:50 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Gulio]]></name></author>
		<updated>2021-07-12T08:44:20-04:00</updated>

		<published>2021-07-12T08:44:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=110083#p110083</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=110083#p110083"/>
		<title type="html"><![CDATA[hi]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=110083#p110083"><![CDATA[
i change this <br><br><div class="codebox"><p>Code: </p><pre><code>   if {[llength $::mhrp(nicks)] &gt;= $target} {</code></pre></div>in <br><div class="codebox"><p>Code: </p><pre><code>   if {[llength $::mhrp(nicks)] &gt;= $max} {</code></pre></div>and is work great now is send msg !gline on after matxch 10 nick connection<br><br>the result is what i expected right<br><div class="codebox"><p>Code: </p><pre><code>[15:42:31] * ChanServ sets mode: +qo X X[15:42:39] &lt;@InfoServ&gt; USERS: Bevvy!bevvy@192.111.139.165 (32F07FFA.6BCFB625.C64C234B.IP) (Bevvy) connected to the network [15:42:39] &lt;@InfoServ&gt; USERS: Veriee!veriee@72.221.164.34 (715394D6.28271C50.C0D4321D.IP) (Veriee) connected to the network [15:42:39] &lt;@InfoServ&gt; USERS: Diahann!diahann@70.166.167.36 (69A377EE.4D4B93C6.9A1EF8E8.IP) (Diahann) connected to the network [15:42:40] &lt;@InfoServ&gt; USERS: Lorraine!lorraine@174.75.211.222 (13CFE653.EE5CFFC7.B83C2445.IP) (Lorraine) connected to the network[15:42:40] &lt;@InfoServ&gt; USERS: Dulsea!dulsea@184.181.217.204 (3CB0D412.B908AD8E.61D77C1C.IP) (Dulsea) connected to the network [15:42:40] &lt;@InfoServ&gt; USERS: Libbie!libbie@98.188.47.150 (BE059E5C.6EC7BCE1.4EDF4AE9.IP) (Libbie) connected to the network [15:42:40] &lt;@InfoServ&gt; USERS: Sheeree!sheeree@ninox.hoo.st (Test-CB0AC1FF.hoo.st) (Sheeree) [142.44.136.197] connected to the network[15:42:40] &lt;@InfoServ&gt; USERS: Marsha!marsha@72.221.196.145 (5A95481C.1159A157.C0D4321D.IP) (Marsha) connected to the network [15:42:41] &lt;@InfoServ&gt; USERS: Dee!dee@192.111.137.35 (E020523E.ACDA578F.C64C234B.IP) (Dee) connected to the network[15:42:41] &lt;@InfoServ&gt; USERS: Marinna!marinna@ip72-212-63-101.ph.ph.cox.net (Test-DCB94153.ph.ph.cox.net) (Marinna) [72.212.63.101] connected to the network[15:42:41] &lt;~X&gt; !gline on</code></pre></div>CrazyCat thnx a lot for ur help and ur time i apreciate it<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12887">Gulio</a> — Mon Jul 12, 2021 8:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2021-07-12T08:44:13-04:00</updated>

		<published>2021-07-12T08:44:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=110082#p110082</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=110082#p110082"/>
		<title type="html"><![CDATA[check mass connect]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=110082#p110082"><![CDATA[
You took my script before I edit a small bug.<br><br>Find:<div class="codebox"><p>Code: </p><pre><code>if {[llength $::mhrp(nicks)] &gt;= $target} { </code></pre></div>Replace with:<div class="codebox"><p>Code: </p><pre><code>if {[llength $::mhrp(nicks)] &gt;= $max} { </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Mon Jul 12, 2021 8:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Gulio]]></name></author>
		<updated>2021-07-12T08:10:24-04:00</updated>

		<published>2021-07-12T08:10:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=110080#p110080</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=110080#p110080"/>
		<title type="html"><![CDATA[hi]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=110080#p110080"><![CDATA[
Now the problem is now bot send msg !gline on when is match 2 - 4 connection not 10<br>is posisble to send msg !gline on after when is count 10 conn inside ?? second if can count properly the 10 conn during ?? seconds<br><div class="codebox"><p>Code: </p><pre><code>set mhrp(flood) 10:5set mhrp(nicks) {}set mhrp(on) 0set commChan "#services"bind raw - NOTICE massconnectfloodproc massconnectflood {frm key text} {if { $::mhrp(on) == 1 } { return }if {[string match *!*@* $frm] || ![string match -nocase "*client connecting*" $text]} { return }regexp {:\ ([^ ]+)\s\(([^@]+)@([^\)])+\)\s\[([^\]]+)} $text - nick ident host ipset target [split $::mhrp(flood) :]set max [lindex $target 0]set seconds [lindex $target 1]lappend ::mhrp(nicks) $nick# we append $mhrp(nicks) with the new connectionutimer $seconds [list lreplace $::mhrp(nicks) [lsearch $::mhrp(nicks) $nick] [lsearch $::mhrp(nicks) $nick]]# we will remove this entry in $seconds (5)if {[llength $::mhrp(nicks)] &gt;= $target} {# comparing size of mhrp(nicks) and targetputhelp "PRIVMSG $::commChan :!gline on"set ::mhrp(on) 1timer 10 [list massconnectunflood]}}proc massconnectunflood {} {putserv "PRIVMSG $::commChan : !gline off"set ::mhrp(on) 0}</code></pre></div>Like this way to send msg<br><div class="codebox"><p>Code: </p><pre><code>[15:19:26] &lt;@InfoServ&gt; USERS: Tim!tim@192.111.139.165 (32F07FFA.6BCFB625.C64C234B.IP) (Tim) connected to the network [15:19:27] &lt;@InfoServ&gt; USERS: Daphene!daphene@72.221.164.34 (715394D6.28271C50.C0D4321D.IP) (Daphene) connected to the network [15:19:27] &lt;@InfoServ&gt; USERS: Anny!anny@98.188.47.150 (BE059E5C.6EC7BCE1.4EDF4AE9.IP) (Anny) connected to the network [15:19:27] &lt;@InfoServ&gt; USERS: Nonnah!nonnah@174.75.211.222 (13CFE653.EE5CFFC7.B83C2445.IP) (Nonnah) connected to the network[15:19:27] &lt;@InfoServ&gt; USERS: Terrie!terrie@184.181.217.204 (3CB0D412.B908AD8E.61D77C1C.IP) (Terrie) connected to the network[15:19:28] &lt;@InfoServ&gt; USERS: Aurel!aurel@72.221.196.145 (5A95481C.1159A157.C0D4321D.IP) (Aurel) connected to the network[15:19:28] &lt;@InfoServ&gt; USERS: Lorelle!lorelle@70.166.167.36 (69A377EE.4D4B93C6.9A1EF8E8.IP) (Lorelle) connected to the network[15:19:28] &lt;@InfoServ&gt; USERS: Karlyn!karlyn@192.111.137.35 (E020523E.ACDA578F.C64C234B.IP) (Karlyn) connected to the network[15:19:28] &lt;@InfoServ&gt; USERS: Julianne!julianne@98.185.94.76 (EE5C3F4.A9D4D4FB.3EDCEB4C.IP) (Julianne) connected to the network[15:19:29] &lt;@InfoServ&gt; USERS: Ellissa!ellissa@174.64.199.82 (565AA083.D59F746E.98C1054.IP) (Ellissa) connected to the network[15:19:29] &lt;~X&gt; !gline on</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12887">Gulio</a> — Mon Jul 12, 2021 8:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2021-07-12T08:03:10-04:00</updated>

		<published>2021-07-12T08:03:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=110078#p110078</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=110078#p110078"/>
		<title type="html"><![CDATA[Re: hi]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=110078#p110078"><![CDATA[
<blockquote class="uncited"><div>is a problem this notice ?<br><br>Line 17: NOTICE: Found constant "::mhrp(nicks)" which is also a variable.<br><div class="codebox"><p>Code: </p><pre><code>utimer $seconds [list lreplace ::mhrp(nicks) [lsearch ::mhrp(nicks) $nick] [lsearch ::mhrp(nicks) $nick]]</code></pre></div></div></blockquote>As said, I didn't test and made code on the fly.<br>Without tcl error: <div class="codebox"><p>Code: </p><pre><code>set mhrp(flood) 10:30set mhrp(nicks) {}set mhrp(on) 0set commChan "#services"bind raw - NOTICE massconnectfloodproc massconnectflood {frm key text} {if { $::mhrp(on) == 1 } { return }if {[string match *!*@* $frm] || ![string match -nocase "*client connecting*" $text]} { return }regexp {:\ ([^ ]+)\s\(([^@]+)@([^\)])+\)\s\[([^\]]+)} $text - nick ident host ipset target [split $::mhrp(flood) :]set max [lindex $target 0]set seconds [lindex $target 1]lappend ::mhrp(nicks) $nick# we append $mhrp(nicks) with the new connectionutimer $seconds [list lreplace $::mhrp(nicks) [lsearch $::mhrp(nicks) $nick] [lsearch $::mhrp(nicks) $nick]]# we will remove this entry in $seconds (30)if {[llength $::mhrp(nicks)] &gt;= $max} {# comparing size of mhrp(nicks) and maxputhelp "PRIVMSG $::commChan :!gline on"set ::mhrp(on) 1timer 10 [list massconnectunflood]}}proc massconnectunflood {} {putserv "PRIVMSG $::commChan : !gline off"set ::mhrp(on) 0}</code></pre></div>I corrected the check, I used $target when it needs $max<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Mon Jul 12, 2021 8:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Gulio]]></name></author>
		<updated>2021-07-12T06:14:10-04:00</updated>

		<published>2021-07-12T06:14:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=110077#p110077</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=110077#p110077"/>
		<title type="html"><![CDATA[hi]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=110077#p110077"><![CDATA[
The Result here<br><br>is possible to send after the 10 nick connection  !gline on<br>to not enable for innocent users on connect cozz here is send msg channel on 2 connection<br><div class="codebox"><p>Code: </p><pre><code>[13:01:22] &lt;@InfoServ&gt; USERS: Domeniga!domeniga@192.111.139.165 (32F07FFA.6BCFB625.C64C234B.IP) (Domeniga) connected to the network[13:01:23] &lt;@InfoServ&gt; USERS: Pearl!pearl@72.221.164.34 (715394D6.28271C50.C0D4321D.IP) (Pearl) connected to the network[13:01:23] &lt;~X&gt; !gline on[13:01:23] &lt;@InfoServ&gt; USERS: Ola!ola@70.166.167.36 (69A377EE.4D4B93C6.9A1EF8E8.IP) (Ola) connected to the network[13:01:24] &lt;@InfoServ&gt; USERS: Goldi!goldi@184.181.217.204 (3CB0D412.B908AD8E.61D77C1C.IP) (Goldi) connected to the network[13:01:24] &lt;@InfoServ&gt; USERS: Jewelle!jewelle@98.188.47.150 (BE059E5C.6EC7BCE1.4EDF4AE9.IP) (Jewelle) connected to the network[13:01:24] &lt;@InfoServ&gt; USERS: Merridie!merridie@174.75.211.222 (13CFE653.EE5CFFC7.B83C2445.IP) (Merridie) connected to the network[13:01:24] &lt;@InfoServ&gt; USERS: Anthea!anthea@192.111.137.35 (E020523E.ACDA578F.C64C234B.IP) (Anthea) connected to the network[13:01:24] &lt;@InfoServ&gt; USERS: Jeannette!jeannette@72.221.196.145 (5A95481C.1159A157.C0D4321D.IP) (Jeannette) connected to the network[13:01:24] &lt;@InfoServ&gt; USERS: Ethel!ethel@98.185.94.76 (EE5C3F4.A9D4D4FB.3EDCEB4C.IP) (Ethel) connected to the network [13:01:25] &lt;@InfoServ&gt; USERS: Dorrie!dorrie@ip72-212-63-101.ph.ph.cox.net (Test-DCB94153.ph.ph.cox.net) (Dorrie) [72.212.63.101] connected to the network [13:01:26] &lt;@InfoServ&gt; USERS: Bianca!bianca@194.9.173.107 (B8E4F618.1A90EC3.2BEE926.IP) (Bianca) connected to the network [13:11:00] &lt;~X&gt;  !gline off</code></pre></div>1 problem here is send msg and for 3 connection from my client i just tested<br>need after the 10 nick connect to send that msg<br><div class="codebox"><p>Code: </p><pre><code>[13:28:54] &lt;~X&gt; !gline on[13:28:54] &lt;@InfoServ&gt; USERS: test1!aLi@48-89-46.adsl.cyta.gr (Test-7A63CC42.adsl.cyta.gr) (hello) [48.103.89.46] connected to the network [13:28:55] &lt;@InfoServ&gt; USERS: test2!aLi@48-89-46.adsl.cyta.gr (Test-7A63CC42.adsl.cyta.gr) (hello) [48.103.89.46] connected to the network [13:28:58] &lt;@InfoServ&gt; USERS: test3!aLi@48-89-46.adsl.cyta.gr (Test-7A63CC42.adsl.cyta.gr) (hello) [48.103.89.46] connected to the network </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12887">Gulio</a> — Mon Jul 12, 2021 6:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Gulio]]></name></author>
		<updated>2021-07-12T06:04:39-04:00</updated>

		<published>2021-07-12T06:04:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=110076#p110076</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=110076#p110076"/>
		<title type="html"><![CDATA[hi]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=110076#p110076"><![CDATA[
is a problem this notice ?<br><br>Line 17: NOTICE: Found constant "::mhrp(nicks)" which is also a variable.<br><div class="codebox"><p>Code: </p><pre><code>utimer $seconds [list lreplace ::mhrp(nicks) [lsearch ::mhrp(nicks) $nick] [lsearch ::mhrp(nicks) $nick]]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12887">Gulio</a> — Mon Jul 12, 2021 6:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Gulio]]></name></author>
		<updated>2021-07-12T05:58:48-04:00</updated>

		<published>2021-07-12T05:58:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=110075#p110075</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=110075#p110075"/>
		<title type="html"><![CDATA[hi]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=110075#p110075"><![CDATA[
1 error on restart<br><div class="codebox"><p>Code: </p><pre><code>Error loading script 'scripts/gline-on.tcl': wrong # args: should be "proc name args body"</code></pre></div>need <br><div class="codebox"><p>Code: </p><pre><code>proc massconnectunflood {} {</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12887">Gulio</a> — Mon Jul 12, 2021 5:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2021-07-12T05:56:45-04:00</updated>

		<published>2021-07-12T05:56:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=110074#p110074</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=110074#p110074"/>
		<title type="html"><![CDATA[check mass connect]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=110074#p110074"><![CDATA[
Simply add a state memory:<div class="codebox"><p>Code: </p><pre><code>set mhrp(flood) 10:30set mhrp(nicks) {}set mhrp(on) 0set commChan "#services"bind raw - NOTICE massconnectfloodproc massconnectflood {frm key text} {   if { $::mhrp(on) == 1 } { return }   if {[string match *!*@* $frm] || ![string match -nocase "*client connecting*" $text]} { return }   regexp {:\ ([^ ]+)\s\(([^@]+)@([^\)])+\)\s\[([^\]]+)} $text - nick ident host ip   set target [split $::mhrp(flood) :]   set max [lindex $target 0]   set seconds [lindex $target 1]   lappend ::mhrp(nicks) $nick   # we append $mhrp(nicks) with the new connection   utimer $seconds [list lreplace ::mhrp(nicks) [lsearch ::mhrp(nicks) $nick] [lsearch ::mhrp(nicks) $nick]]   # we will remove this entry in $seconds (30)   if {[llength $::mhrp(nicks)] &gt;= $target} {      # comparing size of mhrp(nicks) and target      puthelp "PRIVMSG $::commChan :!gline on"      set ::mhrp(on) 1      timer 10 [list massconnectunflood]   }}proc massconnectunflood{} {      putserv "PRIVMSG $::commChan : !gline off"      set ::mhrp(on) 0}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Mon Jul 12, 2021 5:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Gulio]]></name></author>
		<updated>2021-07-12T05:20:34-04:00</updated>

		<published>2021-07-12T05:20:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=110072#p110072</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=110072#p110072"/>
		<title type="html"><![CDATA[hi]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=110072#p110072"><![CDATA[
Is work is send msg a channel but is send for each connection need to send 1 time only when is match 10 connection and more in 30 second same and for !gline off<br><br>!gline on<br><div class="codebox"><p>Code: </p><pre><code>[12:17:35] &lt;@InfoServ&gt; USERS: Tildie!tildie@72.221.164.34 (715394D6.28271C50.C0D4321D.IP) (Tildie) connected to the network [12:17:35] &lt;@InfoServ&gt; USERS: Sherill!sherill@192.111.139.165 (32F07FFA.6BCFB625.C64C234B.IP) (Sherill) connected to the network [12:17:35] &lt;~X&gt; !gline on[12:17:35] &lt;@InfoServ&gt; USERS: Chrystal!chrystal@70.166.167.36 (69A377EE.4D4B93C6.9A1EF8E8.IP) (Chrystal) connected to the network [12:17:35] &lt;~X&gt; !gline on[12:17:35] &lt;@InfoServ&gt; USERS: Isobel!isobel@174.75.211.222 (13CFE653.EE5CFFC7.B83C2445.IP) (Isobel) connected to the network [12:17:35] &lt;~X&gt; !gline on[12:17:35] &lt;@InfoServ&gt; USERS: Kassi!kassi@184.181.217.204 (3CB0D412.B908AD8E.61D77C1C.IP) (Kassi) connected to the network [12:17:35] &lt;~X&gt; !gline on[12:17:35] &lt;~X&gt; !gline on[12:17:35] &lt;@InfoServ&gt; USERS: Olivie!olivie@98.188.47.150 (BE059E5C.6EC7BCE1.4EDF4AE9.IP) (Olivie) connected to the network [12:17:36] &lt;@InfoServ&gt; USERS: Carleen!carleen@72.221.196.145 (5A95481C.1159A157.C0D4321D.IP) (Carleen) connected to the network [12:17:36] &lt;~X&gt; !gline on[12:17:37] &lt;@InfoServ&gt; USERS: Charlot!charlot@98.185.94.76 (EE5C3F4.A9D4D4FB.3EDCEB4C.IP) (Charlot) connected to the network [12:17:37] &lt;~X&gt; !gline on[12:17:37] &lt;@InfoServ&gt; USERS: Norene!norene@192.111.137.35 (E020523E.ACDA578F.C64C234B.IP) (Norene) connected to the network [12:17:37] &lt;~X&gt; !gline on[12:17:37] &lt;@InfoServ&gt; USERS: Sherline!sherline@ip72-212-63-101.ph.ph.cox.net (Test-DCB94153.ph.ph.cox.net) (Sherline) [72.212.63.101] connected to the network [12:17:37] &lt;~X&gt; !gline on[12:17:56] &lt;@InfoServ&gt; USERS: Juliet!juliet@23.129.64.161 (44374157.F590B041.546B3AD4.IP) (Juliet) connected to the network [12:17:56] &lt;~X&gt; !gline on</code></pre></div>!gline off<br><div class="codebox"><p>Code: </p><pre><code>[12:27:00] &lt;~X&gt;  !gline off[12:27:00] &lt;~X&gt;  !gline off[12:27:00] &lt;~X&gt;  !gline off[12:27:00] &lt;~X&gt;  !gline off[12:27:00] &lt;~X&gt;  !gline off[12:27:00] &lt;~X&gt;  !gline off[12:27:00] &lt;~X&gt;  !gline off[12:27:00] &lt;~X&gt;  !gline off[12:27:00] &lt;~X&gt;  !gline off[12:27:00] &lt;~X&gt;  !gline off</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12887">Gulio</a> — Mon Jul 12, 2021 5:20 am</p><hr />
]]></content>
	</entry>
	</feed>
