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

	<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>2014-01-17T08:51:57-04:00</updated>

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

		<entry>
		<author><name><![CDATA[spithash]]></name></author>
		<updated>2014-01-17T08:51:57-04:00</updated>

		<published>2014-01-17T08:51:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102518#p102518</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102518#p102518"/>
		<title type="html"><![CDATA[advanced auto-voice script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102518#p102518"><![CDATA[
I hate doing this but the botnet attack is still going on, really constant, so I had to bug you guys again.<br><br>Anyone else feeling like contributing to this CTCP VERSION thing?<br><br>It would help me a lot. Thank you <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=9145">spithash</a> — Fri Jan 17, 2014 8:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spithash]]></name></author>
		<updated>2014-01-04T07:49:13-04:00</updated>

		<published>2014-01-04T07:49:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102436#p102436</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102436#p102436"/>
		<title type="html"><![CDATA[advanced auto-voice script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102436#p102436"><![CDATA[
I'm looking forward to your reply, thanks <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=9145">spithash</a> — Sat Jan 04, 2014 7:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2014-01-02T10:04:53-04:00</updated>

		<published>2014-01-02T10:04:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102434#p102434</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102434#p102434"/>
		<title type="html"><![CDATA[advanced auto-voice script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102434#p102434"><![CDATA[
I started working on something for you but put the work on hold due to holidays. In a few days will get back to work and finish it and reply here to test it out.<br><br>Meanwhile anyone else feel free to contribute. <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=187">caesar</a> — Thu Jan 02, 2014 10:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spithash]]></name></author>
		<updated>2014-01-02T07:00:45-04:00</updated>

		<published>2014-01-02T07:00:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102433#p102433</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102433#p102433"/>
		<title type="html"><![CDATA[advanced auto-voice script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102433#p102433"><![CDATA[
unfortunately the attacks are still going on, I am still thinking that this ctcp version thing would be the best idea, anyone interested to help me around with this?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9145">spithash</a> — Thu Jan 02, 2014 7:00 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spithash]]></name></author>
		<updated>2013-12-22T15:59:08-04:00</updated>

		<published>2013-12-22T15:59:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102398#p102398</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102398#p102398"/>
		<title type="html"><![CDATA[advanced auto-voice script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102398#p102398"><![CDATA[
Anyone?  <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=9145">spithash</a> — Sun Dec 22, 2013 3:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spithash]]></name></author>
		<updated>2013-12-21T02:51:58-04:00</updated>

		<published>2013-12-21T02:51:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102376#p102376</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102376#p102376"/>
		<title type="html"><![CDATA[advanced auto-voice script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102376#p102376"><![CDATA[
Let's say I want to use/combine this script here with the rest of the script, <a href="http://forum.egghelp.org/viewtopic.php?p=91730" class="postlink">http://forum.egghelp.org/viewtopic.php?p=91730</a><br><br>but instead of only ban a certain ctcp reply (which is cool for me for future use), set it to NOT to voice users with NO ctcp reply on join, and if a user replies to VERSION, proceed to the timer and then voice<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9145">spithash</a> — Sat Dec 21, 2013 2:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spithash]]></name></author>
		<updated>2013-12-19T07:10:01-04:00</updated>

		<published>2013-12-19T07:10:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102354#p102354</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102354#p102354"/>
		<title type="html"><![CDATA[advanced auto-voice script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102354#p102354"><![CDATA[
Oh you got a huge point there, good call. Thank you for pointing that out man <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=9145">spithash</a> — Thu Dec 19, 2013 7:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2013-12-19T06:41:45-04:00</updated>

		<published>2013-12-19T06:41:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102353#p102353</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102353#p102353"/>
		<title type="html"><![CDATA[advanced auto-voice script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102353#p102353"><![CDATA[
Complicated? Not necessarily. It's up to you how far you want to take things and how to manage such a list. I'm trying something and will get back as soon as it's done.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>Btw spithash, you are missing a nick changing function. as is right now, if someone that's in the list changes it's nick it will remain in the loop but will never be voiced so you should take care of that too.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Dec 19, 2013 6:41 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spithash]]></name></author>
		<updated>2013-12-19T05:11:32-04:00</updated>

		<published>2013-12-19T05:11:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102352#p102352</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102352#p102352"/>
		<title type="html"><![CDATA[advanced auto-voice script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102352#p102352"><![CDATA[
so my guess is that it's more complicated than I thought  <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=9145">spithash</a> — Thu Dec 19, 2013 5:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2013-12-18T17:46:08-04:00</updated>

		<published>2013-12-18T17:46:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102350#p102350</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102350#p102350"/>
		<title type="html"><![CDATA[advanced auto-voice script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102350#p102350"><![CDATA[
@caesar : oops  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Wed Dec 18, 2013 5:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spithash]]></name></author>
		<updated>2013-12-18T14:14:37-04:00</updated>

		<published>2013-12-18T14:14:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102349#p102349</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102349#p102349"/>
		<title type="html"><![CDATA[advanced auto-voice script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102349#p102349"><![CDATA[
Thanks guys for your replies <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><blockquote class="uncited"><div>@spithash : What will you do next if they decide to add a regular IRC client reply to their bot's version reply? I would honestly consider talking with an IRC Operator about this issue if persists.</div></blockquote><strong class="text-strong">ceasar:</strong> I guess I thought about it really, if that doesn't work, maybe add like 10 questions in a small database (something like 4+2 = ? )and randomly notice the users on join, if the reply is correct, the user gets voiced by the bot, something like captcha, only for IRC... just a thought, it might be stupid. but for now, this ctcp thing would help me a lot   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_idea.gif" width="15" height="15" alt=":idea:" title="Idea">  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_exclaim.gif" width="15" height="15" alt=":!:" title="Exclamation"><br><br>Also, for the longest time (more than 3 years now) that I've been watching botnets/drones like these, they never had ctcp version reply - maybe they can't be bothered to add one? (I sure hope so <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=9145">spithash</a> — Wed Dec 18, 2013 2:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2013-12-18T13:31:54-04:00</updated>

		<published>2013-12-18T13:31:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102348#p102348</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102348#p102348"/>
		<title type="html"><![CDATA[advanced auto-voice script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102348#p102348"><![CDATA[
@spithash : What will you do next if they decide to add a regular IRC client reply to their bot's version reply? I would honestly consider talking with an IRC Operator about this issue if persists.<br><br>@CrazyCat According to <a href="https://www.alien.net.au/irc/irc2numerics.html" class="postlink">IRC/2 Numeric List</a> that raw is for the server the user is connected on, not from the user itself.<br><br>You actually need to bind the ctcp "VERSION"" like this:<div class="codebox"><p>Code: </p><pre><code>bind ctcp - VERSION version:reply </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed Dec 18, 2013 1:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2013-12-18T11:54:53-04:00</updated>

		<published>2013-12-18T11:54:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102346#p102346</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102346#p102346"/>
		<title type="html"><![CDATA[advanced auto-voice script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102346#p102346"><![CDATA[
Well, it's quite simple to do. I explain, I'll try to make the code later in the day.<br><br>- You must have a list of people on the chan ("global" variable), empty on the beginning.<br>- When someone join the channel, do the CTCP query<br>- When you got the raw 351 (RPL_VERSION), parse the message to separate nick and version<br>- If version is ok, add nick to the global list<br>- idlecheck works with the global list, not with [chanlist]<br>- when an user part, remove it from the list<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Wed Dec 18, 2013 11:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spithash]]></name></author>
		<updated>2013-12-18T09:33:08-04:00</updated>

		<published>2013-12-18T09:33:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102343#p102343</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102343#p102343"/>
		<title type="html"><![CDATA[advanced auto-voice script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102343#p102343"><![CDATA[
This script is a combination of two scripts I found on the forum and it is working great, my problem is that the owners (script kiddies) of the botnets realized that they have to idle their bots to spam in a moderated channel and they configured their bots to do so. <br>Thing is, that their spambots/drones don't have a ctcp version reply. <br>So my question is this, how can I make it scan on join for ctcp version replies and IF we get one (or a certain reply for future use), then proceed to the timer and voice after the time set. Here's the script:<br><div class="codebox"><p>Code: </p><pre><code>#Set your maximum idletime hereset maxidle 60bind time - * idlecheck#Set your channel name Hereset voicechan "#channel"bind join - "#channel *" av:joinbind part - "#channel *" av:partbind mode - "#channel +v" av:modebind sign - "#channel *" av:partproc av:join {nick host hand chan} {   set host [string trimleft $host ~]   global dontvoice   if ![info exists dontvoice($chan)] { set dontvoice($chan) [list] }   if {[botisop $chan]&amp;&amp;[lsearch -exact $dontvoice($chan) $host]=="-1"} {      utimer 300 [list pushmode $chan +v $nick]   }}proc av:part {nick host hand chan {msg ""}} {   set host [string trimleft $host ~]   global dontvoice   if ![info exists dontvoice($chan)] { set dontvoice($chan) [list] }   if {![isbotnick $nick]&amp;&amp;![isvoice $nick $chan]&amp;&amp;![isop $nick $chan]&amp;&amp;[lsearch -exact $dontvoice($chan) $host]=="-1"} {      lappend dontvoice($chan) $host      timer 300 [list set dontvoice($chan) [lreplace $dontvoice($chan) [set foo [lsearch -exact $dontvoice($chan) $host]] $foo]]   }}proc av:mode {nick host hand chan mode {target ""}} {   set thost [string trimleft [getchanhost $target $chan] ~]   global dontvoice   if ![info exists dontvoice($chan)] return      if {[set foo [lsearch -exact $dontvoice($chan) $thost]]!="-1"} {      set dontvoice($chan) [lreplace $dontvoice($chan) $foo $foo]   }}proc idlecheck {min hour day month year} {        global botnick voicechan maxidle        foreach nick [chanlist $voicechan] {                if {$nick == $botnick} {continue}                if {[isop $nick $voicechan]} {continue}                if {![isvoice $nick $voicechan]} {continue}                if {[getchanidle $nick $voicechan] &gt; $maxidle } {                        putserv "MODE $voicechan -v-k $nick \00312Inactive.user(s)\00304"                }        }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9145">spithash</a> — Wed Dec 18, 2013 9:33 am</p><hr />
]]></content>
	</entry>
	</feed>
