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

	<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>2002-08-21T01:04:32-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-21T01:04:32-04:00</updated>

		<published>2002-08-21T01:04:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=9942#p9942</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=9942#p9942"/>
		<title type="html"><![CDATA[bad ident...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=9942#p9942"><![CDATA[
Thank you so much<p>Statistics: Posted by Guest — Wed Aug 21, 2002 1:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[guppy]]></name></author>
		<updated>2002-08-21T00:30:49-04:00</updated>

		<published>2002-08-21T00:30:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=9941#p9941</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=9941#p9941"/>
		<title type="html"><![CDATA[bad ident...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=9941#p9941"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set badidents { "badident1" "badident2" "badident3" } bind join - * bad_ident proc bad_ident {nick uhost hand chan } {   global badidents  if {[isbotnick $nick] || [matchattr $hand b]} {    return 0  }  scan $uhost "%\[^@]@%*s" ident  set ident [string tolower $ident]  foreach badident [string tolower $badidents] {    if {$badident == $ident} {      newchanban $chan *!$badident@* $botnick "bad ident" 60      putlog "Banning $nick!$uhost on $chan for having a bad ident."      return 0    }  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10">guppy</a> — Wed Aug 21, 2002 12:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-20T21:04:15-04:00</updated>

		<published>2002-08-20T21:04:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=9939#p9939</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=9939#p9939"/>
		<title type="html"><![CDATA[bad ident...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=9939#p9939"><![CDATA[
hi, can someone help me to fix this script, when user will join  a channel with a bad ident.....i tried my best but no luck... i will appreciate for ur help<br>thanks<br><br>set badidents {<br>   "badident1"<br>   "badident2"<br>   "badident3"<br>}<br><br>bind join - * bad_ident<br>proc bad_ident {nick uhost hand chan } {<br> global badidents botnick  <br>if {(![matchattr $hand b]) &amp;&amp; ($nick != $botnick)} {<br>  foreach badchange [string tolower $badnicks] {<br>   if {[string match *$badchange* [string tolower $chan]]} {<br>    set reason "bad ident...."<br>    set ident [string range $uhost [expr [string first "!" $uhost]+1] [expr [string last "@" $uhost]-1]]<br>    set banmask "*$ident@*" <br>    putserv "MODE $chan +b $banmask"<br>    putserv "KICK $chan $nick :$reason"<br>    return 0<br>    }  <br>  }<br> }<br>}<br><br>thanks<br>regards<br>aw<p>Statistics: Posted by Guest — Tue Aug 20, 2002 9:04 pm</p><hr />
]]></content>
	</entry>
	</feed>
