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

	<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>2010-05-30T01:50:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[gamble27]]></name></author>
		<updated>2010-05-30T01:50:00-04:00</updated>

		<published>2010-05-30T01:50:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93199#p93199</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93199#p93199"/>
		<title type="html"><![CDATA[check ip instead of nick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93199#p93199"><![CDATA[
the thing is not all spammers change to new nick some remain same nick,so i have to keep the core of the tcl and just change the checking part from nick to ip.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10110">gamble27</a> — Sun May 30, 2010 1:50 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[game_over]]></name></author>
		<updated>2010-05-29T17:46:03-04:00</updated>

		<published>2010-05-29T17:46:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93197#p93197</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93197#p93197"/>
		<title type="html"><![CDATA[check ip instead of nick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93197#p93197"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind nick - * check:nick:bugproc check:nick:bug {nick uhost handle chan newnick} { global cversion if {[utimerexists [list no:version:reply $nick $uhost $chan]]!=""} {  set sd [utimers]; set begin [lsearch -regexp $sd "$nick"]  utimer [lindex [lindex $sd $begin] 0] [list no:version:reply $newnick $uhost $chan] killutimer [lindex [lindex $sd $begin] end] }}</code></pre></div>I look other way. if someone join channel script add timer. Just use bind join to modify timer (kill older and set new with time left and new nick)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8946">game_over</a> — Sat May 29, 2010 5:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[gamble27]]></name></author>
		<updated>2010-05-28T06:30:37-04:00</updated>

		<published>2010-05-28T06:30:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93186#p93186</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93186#p93186"/>
		<title type="html"><![CDATA[check ip instead of nick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93186#p93186"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind ctcr - VERSION version:reply bind join - * check:version proc check:version {nick uhost hand chan} { if {[isop $nick $chan] || [isvoice $nick $chan] || [matchattr $hand Pfov|Pfov $chan]} { return 0 }global cversion chattr proxychk +|+P $chan set cversion([string tolower $nick]) 1 putserv "PRIVMSG $nick :\001Version\001" utimer 60 [list no:version:reply $nick $uhost $chan] } proc version:reply {nick uhost hand dest kw arg} { global cversion if {[info exists cversion([string tolower $nick])]} { unset cversion([string tolower $nick]) } } proc no:version:reply {nick uhost chan} { global cversion if {[info exists cversion([string tolower $nick])] &amp;&amp; [onchan $nick $chan]} { putserv "MODE $chan +b *!*@[lindex [split $uhost @] 1]" putserv "KICK $chan $nick : Spam" unset cversion([string tolower $nick]) } }</code></pre></div>this code is working fine,its kicking everyone that doesnt reply version however, the spammers are getting smarter they join a channel and change nick immediately,as a result when this code does [onchan $nick $chan]} this check,the nick which joined is no longer on channel,therefore the spammer escaped from kick, now what i want is instead of this code checks for nick that joined.. i want it to check the ip that joined so even if the nick is changed but if ip is in they will still get kicked im sure the change is here [onchan $nick $chan]} but im not sure how to do it,plz assist me, any help will b greatly appreciated.<br><br>in short instead of checking the nick which joined,we check for the ip(of the nick joined) before kicking.. thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10110">gamble27</a> — Fri May 28, 2010 6:30 am</p><hr />
]]></content>
	</entry>
	</feed>
