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

	<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>2020-12-22T19:36:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ComputerTech]]></name></author>
		<updated>2020-12-22T19:36:00-04:00</updated>

		<published>2020-12-22T19:36:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109261#p109261</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109261#p109261"/>
		<title type="html"><![CDATA[Kill 1st Gline 2nd]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109261#p109261"><![CDATA[
oh CrazyCat, thanks for the heads up heh.<br><br>feel like a idiot now lol  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12849">ComputerTech</a> — Tue Dec 22, 2020 7:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2020-12-22T18:57:57-04:00</updated>

		<published>2020-12-22T18:57:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109260#p109260</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109260#p109260"/>
		<title type="html"><![CDATA[Kill 1st Gline 2nd]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109260#p109260"><![CDATA[
@ComputerTech: Armide83 is a spam bot.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Tue Dec 22, 2020 6:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ComputerTech]]></name></author>
		<updated>2020-12-22T17:32:21-04:00</updated>

		<published>2020-12-22T17:32:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109259#p109259</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109259#p109259"/>
		<title type="html"><![CDATA[Kill 1st Gline 2nd]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109259#p109259"><![CDATA[
Armide83, as explained above to my Question, the kill message cant be catched, so i just used the putserv "PRIVMSG $chan :message here" does the job <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">. or simo created a stringmatch script that catched the quit message of a /killed user  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cool.gif" width="15" height="15" alt="8)" title="Cool"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12849">ComputerTech</a> — Tue Dec 22, 2020 5:32 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Armide83]]></name></author>
		<updated>2020-12-22T16:11:50-04:00</updated>

		<published>2020-12-22T16:11:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109258#p109258</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109258#p109258"/>
		<title type="html"><![CDATA[Kill 1st Gline 2nd]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109258#p109258"><![CDATA[
<blockquote class="uncited"><div>Hmm, i guessed that, what of the notice or excessive flood, can it be noticed to a particular channel?<br>for example<br><br>Excessive Flood by guest123<br><br>on #test<br><br>Guest123 did Excessive <a href="https://www.shuttle-paris-airports.com/paris-shuttle" class="postlink">transfers Dieppe</a><br><br>that possible?<br><br>to catch the notice, and project to a specified channel</div></blockquote>I don't understand, how can it be noticed on a particular channel?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12895">Armide83</a> — Tue Dec 22, 2020 4:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2020-11-15T14:33:33-04:00</updated>

		<published>2020-11-15T14:33:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109178#p109178</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109178#p109178"/>
		<title type="html"><![CDATA[Kill 1st Gline 2nd]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109178#p109178"><![CDATA[
I don't know yet if it will work.   But here are a couple things that I did notice.<br><div class="codebox"><p>Code: </p><pre><code>bind pub !gzline the:gzline</code></pre></div>Flags is missing.<br>Also, need to call the proc including the namespace:<br>badguy::the:gzline<br><br>bind raw - 378 flud:gline <br>Same.  Need to call the proc using the namespace name.<br><br>Question:<br>Are you sure that raw 378 is what you want?<br><br>Something to consider:<br>Use a utimer to unbind that bind raw after xx seconds.  This way it is not<br>operational all the time.  Can't accidentally trigger.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Sun Nov 15, 2020 2:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ComputerTech]]></name></author>
		<updated>2020-11-15T10:51:45-04:00</updated>

		<published>2020-11-15T10:51:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109177#p109177</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109177#p109177"/>
		<title type="html"><![CDATA[Kill 1st Gline 2nd]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109177#p109177"><![CDATA[
Would this work?<br><div class="codebox"><p>Code: </p><pre><code>namespace eval badguy {bind pub !gzline the:gzlineproc the:gzline {nick host hand chan text} {set bnick [lindex [split $text] 0 ]putserv "PRIVMSG $chan :GZline'n $bnick"putnow "WHOIS $bnick" }return 1   bind raw - 378 flud:gline    proc flud:gline {from kw text} {       set host [lindex [split $text " "] end]       putnow "gzline *@$host +30m :Breakage of Network Policy"    } }</code></pre></div>Not sure tbh, how to call proc flud:gline  to use the whois raw  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":?" title="Confused"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12849">ComputerTech</a> — Sun Nov 15, 2020 10:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ComputerTech]]></name></author>
		<updated>2020-09-27T15:08:47-04:00</updated>

		<published>2020-09-27T15:08:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109047#p109047</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109047#p109047"/>
		<title type="html"><![CDATA[Kill 1st Gline 2nd]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109047#p109047"><![CDATA[
That worked Great CrazyCat, thanks a lot  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy">  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy">  <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=12849">ComputerTech</a> — Sun Sep 27, 2020 3:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ComputerTech]]></name></author>
		<updated>2020-09-25T09:32:38-04:00</updated>

		<published>2020-09-25T09:32:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109041#p109041</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109041#p109041"/>
		<title type="html"><![CDATA[Kill 1st Gline 2nd]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109041#p109041"><![CDATA[
Wow, that's much better than i thought it would be, Thank you CrazyCat,<br> i will test it right away  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy">  <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=12849">ComputerTech</a> — Fri Sep 25, 2020 9:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2020-09-25T04:40:15-04:00</updated>

		<published>2020-09-25T04:40:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109040#p109040</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109040#p109040"/>
		<title type="html"><![CDATA[Kill 1st Gline 2nd]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109040#p109040"><![CDATA[
It is possible, here is a short solution:<div class="codebox"><p>Code: </p><pre><code>setudef flag fludctrlsetudef int fludlastset fluddelay 5 #in daysbind cron - "*/10 * * * *" fludcheckproc fludcheck {min hour day month wd} {   set delay [expr {$::fluddelay * 86400}]   set now [clock seconds]   foreach chan [channels] {      if {[channel get $chan fludctrl] == 0} { continue }      if {[channel get $chan fludlast]&lt;[expr {$now - $delay}]} {         channel remove $chan      }   }}</code></pre></div>You will have to modify your <strong class="text-strong">flud:ban</strong> procedure:<div class="codebox"><p>Code: </p><pre><code>proc flud:ban { n u h t c } {   channel set $c fludlast [clock seconds]   if {(![info exists ::badguy::bad($u)])} { set ::badguy::bad($u) 0 } ...</code></pre></div>And when you add a chan to monitor, you'll have to enable the fludctrl option on it: <strong class="text-strong">.chanset #channel +fludctrl</strong><br>This is to allow you to have channels where the bot will stay, even if there are no flood in it.<br><br>Each time there flood is detected in $chan, the channel setting "fludlast" will have the timestamp of the last detection.<br>Each 10 minutes, the eggdrop will compare (for each monitored channel) the value of fludlast and the current time. If fludlast is older than 5 days, the channel is removed from the eggdrop records.<br><br>Not tested <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Fri Sep 25, 2020 4:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ComputerTech]]></name></author>
		<updated>2020-09-24T20:45:23-04:00</updated>

		<published>2020-09-24T20:45:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109037#p109037</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109037#p109037"/>
		<title type="html"><![CDATA[Kill 1st Gline 2nd]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109037#p109037"><![CDATA[
Is it possible to add a check, that makes the bot part the channel if no flood has happened  in like 5 days, the bot will automatically part the channel, how can i add this?  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":?" title="Confused"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12849">ComputerTech</a> — Thu Sep 24, 2020 8:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ComputerTech]]></name></author>
		<updated>2020-09-08T15:17:46-04:00</updated>

		<published>2020-09-08T15:17:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108966#p108966</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108966#p108966"/>
		<title type="html"><![CDATA[Kill 1st Gline 2nd]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108966#p108966"><![CDATA[
Oh, i did not notice that CrazyCat, thank  you for pointing that out <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><br><br>i guess i will do without pm'g #admin the origin channel on flud-gline  *shrug*<br><br>Thanks Again CrazyCat<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12849">ComputerTech</a> — Tue Sep 08, 2020 3:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2020-09-08T12:04:30-04:00</updated>

		<published>2020-09-08T12:04:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108965#p108965</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108965#p108965"/>
		<title type="html"><![CDATA[Kill 1st Gline 2nd]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108965#p108965"><![CDATA[
Your privmsg in flud:gline proc won't work.<br>$c (I guess channel) and $n (nick ?) aren't defined.<br>You can peharps get nick fro $text (not really remember how is the raw 378 format), but you'll NEVER got the channel.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Tue Sep 08, 2020 12:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ComputerTech]]></name></author>
		<updated>2020-09-08T10:36:15-04:00</updated>

		<published>2020-09-08T10:36:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108964#p108964</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108964#p108964"/>
		<title type="html"><![CDATA[Kill 1st Gline 2nd]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108964#p108964"><![CDATA[
Yeah, it seems i meant, that all kills made by the bot, will be sent to a specific channel.<br><br>E.g #admin    will show all kills made by the eggdrop. so i changed your script to this.<br><div class="codebox"><p>Code: </p><pre><code>namespace eval badguy {    variable bad        bind flud - pub flud:ban        proc flud:ban { n u h t c } {       if {(![info exists ::badguy::bad($u)])} { set ::badguy::bad($u) 0 }       incr ::badguy::bad($u)       switch $::badguy::bad($u) {          1 {             putquick "privmsg $n :You Are Flooding/Spamming, Please Stop Or You Will Be Network Banned"             putserv "privmsg #admin :warning, Flood Happening in $c By $n"         }          2 {             putquick "KILL $n Spamming is not allowed on TechNet"             putserv "privmsg #admin :Kill due to flood in $c By $n"         }          3 {             putnow "WHOIS $n"             unset ::badguy::bad($u)          }       }       return 1    }        bind raw - 378 flud:gline    proc flud:gline {from kw text} {       set host [lindex [split $text " "] end]       putnow "gzline *@$host +30m :Network flood"       putserv "privmsg #admin :Gzline, Flood Happening in $c By $n"   } }</code></pre></div>I havent tested it yet, but will in a few  <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=12849">ComputerTech</a> — Tue Sep 08, 2020 10:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2020-08-23T17:47:28-04:00</updated>

		<published>2020-08-23T17:47:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108914#p108914</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108914#p108914"/>
		<title type="html"><![CDATA[Kill 1st Gline 2nd]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108914#p108914"><![CDATA[
<blockquote class="uncited"><div>to output onto the channel using, e.g  putserv  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"></div></blockquote>But WICH channel ? If you want to output on an admin channel, just define your channel in the script. Or hard-code it in your putserv.<br>Anyway, no script (or human oper) can see a recvq exceed and send a message to a channel in which was the killed user.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Sun Aug 23, 2020 5:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ComputerTech]]></name></author>
		<updated>2020-08-23T17:23:11-04:00</updated>

		<published>2020-08-23T17:23:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108913#p108913</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108913#p108913"/>
		<title type="html"><![CDATA[Kill 1st Gline 2nd]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108913#p108913"><![CDATA[
to output onto the channel using, e.g  putserv  <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=12849">ComputerTech</a> — Sun Aug 23, 2020 5:23 pm</p><hr />
]]></content>
	</entry>
	</feed>
