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

	<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>2007-02-02T13:58:42-04:00</updated>

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

		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2007-02-02T13:58:42-04:00</updated>

		<published>2007-02-02T13:58:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70158#p70158</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70158#p70158"/>
		<title type="html"><![CDATA[Ban every one that has noidentd tcl help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70158#p70158"><![CDATA[
You need to restart the bot.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Fri Feb 02, 2007 1:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[sdays]]></name></author>
		<updated>2007-02-02T08:36:12-04:00</updated>

		<published>2007-02-02T08:36:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70153#p70153</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70153#p70153"/>
		<title type="html"><![CDATA[Ban every one that has noidentd tcl help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70153#p70153"><![CDATA[
hmm i tryed editing the bot bans the ops friends etc none of them codes works...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8306">sdays</a> — Fri Feb 02, 2007 8:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2007-02-01T13:38:43-04:00</updated>

		<published>2007-02-01T13:38:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70141#p70141</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70141#p70141"/>
		<title type="html"><![CDATA[Ban every one that has noidentd tcl help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70141#p70141"><![CDATA[
Looks like tosser still doesn't exactly know what he's doing.<br><div class="codebox"><p>Code: </p><pre><code>set noident(exempt)  "fmo|omf"set noident(bantime) 10; # Ban time in minutes. (I see no reason to ban for mere seconds)set noident(kickmsg) "You need identd enabled to join this channel."# I don't see the point in some lame counter so let's not include it.setudef flag noidentbind join -|- * noident:joinproc noident:join {nick host hand chan} {  global noident  if {![botisop $chan] || ![channel get $channel noident] || [matchattr $hand $noident($exempt) $chan] || ![string match ~*@* $host]} { return 0 }  putserv "MODE $chan +b [set host *![string map [list "~" "*"] $host]]"  putserv "KICK $chan $nick :$noident(kickmsg)"  timer $noidentd(bantime) [list pushmode $chan -b $host]}</code></pre></div>Also, You would find that tossers code would not have worked very well as he doesn't even check the ident.<br><br>Enable it with .chanset #channel +noident.<br><br>It should work exactly as wanted <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=5078">metroid</a> — Thu Feb 01, 2007 1:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[r0t3n]]></name></author>
		<updated>2007-02-01T07:37:57-04:00</updated>

		<published>2007-02-01T07:37:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70139#p70139</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70139#p70139"/>
		<title type="html"><![CDATA[Ban every one that has noidentd tcl help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70139#p70139"><![CDATA[
Try this:<br>Usage:<br>To enable: type .chanset #yourchan +noidentd in the partyline<br>To disable: type .chanset #yourchan -noidentd in the partyline<br><div class="codebox"><p>Code: </p><pre><code>set noidentd(excempt) "fmo|omf"set noidentd(bantime) "30"; # Bantime in secondsset noidentd(kickmsg) "You need identd enabled to join this channel - Count: :count:"setudef flag noidentdsetudef int noidentd_idbind join -|- {*} noidentd:joinproc noidentd:join {nick host hand chan} {  global noidentd  if {![channel get $chan noidentd]} { return }  if {![botisop $chan] &amp;&amp; [matchattr $hand $noidentd(excempt) $chan] &amp;&amp; [isop $nick $chan] &amp;&amp; [isvoice $nick $chan]} { return }  channel set $chan noidentd_id "[set count [expr [channel get $chan noidentd_id] + 1]]"  regsub -all :count: $noidentd(kickmsg) $count reason  putserv "MODE $chan +b $host"  putserv "KICK $chan $nick :$reason"  utimer $noidentd(bantime) [list pushmode $chan -b $host]}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6300">r0t3n</a> — Thu Feb 01, 2007 7:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[sdays]]></name></author>
		<updated>2007-02-01T04:03:34-04:00</updated>

		<published>2007-02-01T04:03:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70136#p70136</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70136#p70136"/>
		<title type="html"><![CDATA[Ban every one that has noidentd tcl help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70136#p70136"><![CDATA[
Ok that worked, Hmm when some one joins another channel it bans them in the channel i have the script on. <br><div class="codebox"><p>Code: </p><pre><code>set yourchan "#channel"set noflagban "fmo|omf"setudef int banidset tempban 10bind join - $yourchan* badidentproc badident {nick uhost hand chan} {  global yourchan noflagban tempban  if {([botisop $chan]) &amp;&amp; (![isop $nick $chan]) &amp;&amp; (![isvoice $nick $chan]) &amp;&amp; (![matchattr $hand $noflagban $chan]) &amp;&amp; ([onchan $nick $chan])} {    set count "[expr [channel get $chan banid] + 1]"    channel set $chan banid "$count"    if {[string match ~*@* $uhost]} {      putserv "MODE $yourchan +b $uhost"      putserv "KICK $yourchan $nick :Put kick msg here $count"      timer $tempban [putserv {MODE $yourchan -b $uhost}]    }  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8306">sdays</a> — Thu Feb 01, 2007 4:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2007-01-31T14:15:27-04:00</updated>

		<published>2007-01-31T14:15:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70116#p70116</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70116#p70116"/>
		<title type="html"><![CDATA[Ban every one that has noidentd tcl help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70116#p70116"><![CDATA[
use string match instead.<div class="codebox"><p>Code: </p><pre><code>if {[string match ~*@* $uhost]} {</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Wed Jan 31, 2007 2:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[sdays]]></name></author>
		<updated>2007-01-31T14:00:35-04:00</updated>

		<published>2007-01-31T14:00:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70114#p70114</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70114#p70114"/>
		<title type="html"><![CDATA[Ban every one that has noidentd tcl help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70114#p70114"><![CDATA[
This dose nothing i want it to ban every one that has no ident, can some one help thx.<br><div class="codebox"><p>Code: </p><pre><code>set yourchan "#channel"bind join - * badidentproc badident {nick uhost hand chan} {  if {![isbotnick $nick] &amp;&amp; [botisop $chan]} {    if {"$uhost" == "*!*~*@*"} {       putserv "MODE $yourchan +b $uhost"      putserv "KICK $yourchan $nick :Sorry but you have no identd. Ident must be enabled to join, try opening port 113 on your router to your PC and reconnect to a server!"    }  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8306">sdays</a> — Wed Jan 31, 2007 2:00 pm</p><hr />
]]></content>
	</entry>
	</feed>
