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

	<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-15T06:15:04-04:00</updated>

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

		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2023-10-15T06:15:04-04:00</updated>

		<published>2023-10-15T06:15:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112232#p112232</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112232#p112232"/>
		<title type="html"><![CDATA[on connect bad realname]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112232#p112232"><![CDATA[
<blockquote class="uncited"><div>Simo :<br><br>That thing you put in after updating doesn't work well.<br>The other previous one that you posted does work very well. (I've realized now).</div></blockquote>both work  fine for me<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Sun Oct 15, 2023 6:15 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[PeLL]]></name></author>
		<updated>2023-10-15T05:42:10-04:00</updated>

		<published>2023-10-15T05:42:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112231#p112231</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112231#p112231"/>
		<title type="html"><![CDATA[on connect bad realname]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112231#p112231"><![CDATA[
Simo :<br><br>That thing you put in after updating doesn't work well.<br>The other previous one that you posted does work very well. (I've realized now).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11588">PeLL</a> — Sun Oct 15, 2023 5:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[PeLL]]></name></author>
		<updated>2023-10-09T17:33:02-04:00</updated>

		<published>2023-10-09T17:33:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112220#p112220</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112220#p112220"/>
		<title type="html"><![CDATA[on connect bad realname]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112220#p112220"><![CDATA[
Okay, simplify the thesis CrazyCat , is good .<br>For my taste it would be better to add a set with words or characters that you want to use.<blockquote class="uncited"><div>example : set badreal {"???" "fu*k*you"} &lt;-- example</div></blockquote>(this is a pleasure of mine)<br>But I repeat that it works very well.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11588">PeLL</a> — Mon Oct 09, 2023 5:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2023-10-09T11:56:51-04:00</updated>

		<published>2023-10-09T11:56:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112219#p112219</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112219#p112219"/>
		<title type="html"><![CDATA[on connect bad realname]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112219#p112219"><![CDATA[
thanks CC but isnt:<br> <div class="codebox"><p>Code: </p><pre><code>  \[([a-z]{2,6})\]  </code></pre></div> restricted to only a-z characters used as he didnt specify wich characters to check for i assumed all characters and not just a-z<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Mon Oct 09, 2023 11:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2023-10-09T08:47:30-04:00</updated>

		<published>2023-10-09T08:47:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112218#p112218</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112218#p112218"/>
		<title type="html"><![CDATA[on connect bad realname]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112218#p112218"><![CDATA[
It could probably be simplest:<div class="codebox"><p>Code: </p><pre><code>if {[regexp -nocase { REMOTECONNECT: Client connecting at (\S+\:) ([^!]+)!([^@]+)@(\S+) \(([0-9a-f.:]+)\) \[(.*)\]} $text -&gt;  server nick ident host ip realname] }</code></pre></div>can become:<div class="codebox"><p>Code: </p><pre><code>if {[regexp -nocase { REMOTECONNECT: Client connecting at (\S+\:) ([^!]+)!([^@]+)@(\S+) \(([0-9a-f.:]+)\) \[([a-z]{2,6})\]} $text -&gt;  server nick ident host ip realname] }</code></pre></div>If the regexp doesnt't match, it means that realname is less than 2 chars or more than 6.<br><br>Same for the second regexp.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Mon Oct 09, 2023 8:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[PeLL]]></name></author>
		<updated>2023-10-09T05:25:42-04:00</updated>

		<published>2023-10-09T05:25:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112217#p112217</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112217#p112217"/>
		<title type="html"><![CDATA[on connect bad realname]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112217#p112217"><![CDATA[
Simo: Thank you very much for your script and time, it works very well.<br>Thank you so much  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11588">PeLL</a> — Mon Oct 09, 2023 5:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2023-10-07T10:13:11-04:00</updated>

		<published>2023-10-07T10:13:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112215#p112215</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112215#p112215"/>
		<title type="html"><![CDATA[on connect bad realname]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112215#p112215"><![CDATA[
this seems to work for me :<br><br>works for both remote and local server.<br><div class="codebox"><p>Code: </p><pre><code>bind raw - NOTICE On-Connect:Drone-Check proc On-Connect:Drone-Check {from keyword text} {   set text [regsub -all -- {\s{2,}} [string trim [stripcodes * $text]] { }]   if {[string match *!*@* $from]} { return 0; # not a server notice }  if {[regexp -nocase { REMOTECONNECT: Client connecting at (\S+\:) ([^!]+)!([^@]+)@(\S+) \(([0-9a-f.:]+)\) \[(.*)\]} $text -&gt;  server nick ident host ip realname] } {       set realnameX1 [string map {" " ""} $realname]       set realnameX [string length [stripcodes * $realnameX1]]      if {($realnameX &gt; 2 ) &amp;&amp; ($realnameX &lt; 6 ) } {  putserv "GLINE *@$ip 1h :flood clon" }}  if {[regexp -nocase { CONNECT: Client connecting on port (\d+) \(class (\S+)\): ([^!]+)!([^@]+)@(\S+) \(([0-9a-f.:]+)\) \[(.*)\]} $text -&gt; port class nick ident host  ip realname]} {       set realnameX1 [string map {" " ""} $realname]       set realnameX [string length [stripcodes * $realnameX1]]      if {($realnameX &gt; 2 ) &amp;&amp; ($realnameX &lt; 6 ) } {  putserv "GLINE *@$ip 1h :flood clon" } }   return 0}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Sat Oct 07, 2023 10:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[PeLL]]></name></author>
		<updated>2023-10-07T07:31:11-04:00</updated>

		<published>2023-10-07T07:31:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112213#p112213</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112213#p112213"/>
		<title type="html"><![CDATA[on connect bad realname]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112213#p112213"><![CDATA[
Hello everyone .<br>I don't know where to put this code and that's why I created a new post.<br>I leave this code found in this same forum but edited by me that I can't get to work.<br><br>If it is possible to make it work...<br><div class="codebox"><p>Code: </p><pre><code>set akillname {  "????"  "?????"  "???"}bind raw - NOTICE client:connectproc client:connect {from keyword text} {  global akillname  set text [regsub -all -- {\s{2,}} [string trim [stripcodes * $text]] { }]  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 1 } {    if {[lsearch -regexp $nick] ne -1} { return }if {[lsearch -regexp $realname] ne -1} { return }    foreach realname [string tolower $akillname] {      if {[string match -nocase *$realname* $text]} {        # your akill thing hereputserv "privmsg #tester hi $nick e $realname"putserv "GLINE *@$ip flood clon"break  }    }  }}</code></pre></div>Thank you very much for the time and help.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11588">PeLL</a> — Sat Oct 07, 2023 7:31 am</p><hr />
]]></content>
	</entry>
	</feed>
