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

	<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-27T18:35:30-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2007-02-27T18:35:30-04:00</updated>

		<published>2007-02-27T18:35:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70807#p70807</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70807#p70807"/>
		<title type="html"><![CDATA[Need Help on a Small Change - Bad Channels on WHOIS tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70807#p70807"><![CDATA[
This IRCOp "thing" is interesting. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"> We're not being "being nosey and elitist" either. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>The whois is dependent on which bloated IRCd is being used. We also find it annoying. For some, a scripting solution solves the "problem".<blockquote class="uncited"><div>[00:53] [09:27] *** Notice -- /WHOIS command used on you by: LeReveur (~<a href="mailto:merci@laddertest.com">merci@laddertest.com</a>)</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Tue Feb 27, 2007 6:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2007-02-27T16:39:24-04:00</updated>

		<published>2007-02-27T16:39:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70802#p70802</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70802#p70802"/>
		<title type="html"><![CDATA[Need Help on a Small Change - Bad Channels on WHOIS tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70802#p70802"><![CDATA[
Mine had an extra ] at the end, remove that. And as far as ircops, too bad for them, they get banned from my channels <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><br><br>If the exempt_flags variable is still throwing errors, use $::exempt_flags (its causing an error because the proc doesn't have exempt_flags as a global var at the top. You can fix it by either adding exempt_flags to the global flags in the proc, or use $::exempt_flags)<br><br>Edit: Just saw sir_fz's fix, that'll work too =)<br><br>Edit2: I have no way to test any such changes, as I do not have ircops, and therefore cannot see when the script whois's me (just 1 more reason to despise ircops, they have no reason to need to see whois, they're just being nosey and elitist &lt;/opinion&gt; <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz">) <br><br>I could theoretically set up ircd to test things, but, 1) I'm lazy and 2) I despise ircops and don't care if they don't like being whois'd.. Stay off my channels and you won't be annoyed by it <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"> <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=7395">rosc2112</a> — Tue Feb 27, 2007 4:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[MoralityAcademy]]></name></author>
		<updated>2007-02-27T15:03:38-04:00</updated>

		<published>2007-02-27T15:03:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70798#p70798</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70798#p70798"/>
		<title type="html"><![CDATA[Need Help on a Small Change - Bad Channels on WHOIS tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70798#p70798"><![CDATA[
<blockquote class="uncited"><div>replace $exempt_flags with [channel get $channel mc.ban_channel.exempt.flags]</div></blockquote>Not really sure yet (i ll have to test it later) but it runs on this way without getting errors...<br><br>I'll notify you for sure as soon as i ve check it <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><br><br>Thank you guys..!  <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">  <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">  <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=8749">MoralityAcademy</a> — Tue Feb 27, 2007 3:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-02-27T14:27:50-04:00</updated>

		<published>2007-02-27T14:27:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70796#p70796</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70796#p70796"/>
		<title type="html"><![CDATA[Need Help on a Small Change - Bad Channels on WHOIS tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70796#p70796"><![CDATA[
replace $exempt_flags with [channel get $channel mc.ban_channel.exempt.flags]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Feb 27, 2007 2:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[MoralityAcademy]]></name></author>
		<updated>2007-02-27T15:10:03-04:00</updated>

		<published>2007-02-27T10:22:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70787#p70787</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70787#p70787"/>
		<title type="html"><![CDATA[Need Help on a Small Change - Bad Channels on WHOIS tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70787#p70787"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div>My suggestion is to add<div class="codebox"><p>Code: </p><pre><code>if {[matchattr [nick2hand $nick] $exempt_flags $channel]} {return 0}</code></pre></div>before <strong class="text-strong">putserv "WHOIS $nick"</strong> at line 1054.</div></blockquote>Look at Sir_Fz' code carefully.</div></blockquote>The same.. error..<blockquote class="uncited"><div>[15:22] Last Bind     : *<br>[15:22] Last Commands :<br>[15:22]     1172586134- mc:banc:list_ list #channel<br>[15:22]     1172586134- mc:banc:list_ has_bans #channel<br>[15:22]     1172586134- mc:banc:list_ scan {PERIERGOS #channel 0}<br>[15:22]     1172586134- mc:banc:list_ list #channel<br>[15:22]     1172586134- mc:banc:list_ has_bans #channel<br>[15:22] Error stack   :<br>[15:22]     can't read "exempt_flags": no such variable<br>[15:22]         while executing<br>[15:22]     "matchattr [nick2hand $nick] $exempt_flags $channel"<br>[15:22]         ("foreach" body line 5)<br>[15:22]         invoked from within<br>[15:22]     "foreach utimer $utimers {<br>[15:22]             if {[lsearch -glob $utimer [list mc:banc:list scan $nick *]] == "1"} {<br>[15:22]               killutimer [lindex $utimer 2]<br>[15:22]          ..."<br>[15:22]         ("scan" arm line 39)<br>[15:22]         invoked from within<br>[15:22]     "switch -- $command {<br>[15:22]     <br>[15:22]         "has_dcc_access" {<br>[15:22]           foreach {handle channel type} $args break<br>[15:22]     <br>[15:22]           if {$mc_banc(:config:access:$type) == "-|-"} {retu..."<br>[15:22]         (procedure "mc:banc:list_" line 5)<br>[15:22]         invoked from within<br>[15:22]     "mc:banc:list_ scan {PERIERGOS #channel 0}"<br>[15:22]         ("eval" body line 1)<br>[15:22]         invoked from within<br>[15:22]     "eval $command $args"</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8749">MoralityAcademy</a> — Tue Feb 27, 2007 10:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2007-02-27T10:10:43-04:00</updated>

		<published>2007-02-27T10:10:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70785#p70785</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70785#p70785"/>
		<title type="html"><![CDATA[Need Help on a Small Change - Bad Channels on WHOIS tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70785#p70785"><![CDATA[
<blockquote class="uncited"><div>My suggestion is to add<div class="codebox"><p>Code: </p><pre><code>if {[matchattr [nick2hand $nick] $exempt_flags $channel]} {return 0}</code></pre></div>before <strong class="text-strong">putserv "WHOIS $nick"</strong> at line 1054.</div></blockquote>Look at Sir_Fz' code carefully.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Tue Feb 27, 2007 10:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[MoralityAcademy]]></name></author>
		<updated>2007-02-27T15:07:55-04:00</updated>

		<published>2007-02-27T09:03:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70780#p70780</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70780#p70780"/>
		<title type="html"><![CDATA[Need Help on a Small Change - Bad Channels on WHOIS tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70780#p70780"><![CDATA[
<blockquote class="uncited"><div>[13:39] Last Bind     : *<br>[13:39] Last Commands :<br>[13:39]     1172579947- mc:banc:list_ scan {nikolakissssssss #channel 0}<br>[13:39]     1172579947- mc:banc:list_ list #channel<br>[13:39]     1172579947- mc:banc:list_ has_bans #channel<br>[13:39]     1172579947- mc:banc:join_ nikolakissssssss ~<a href="mailto:nikolakis@ppp149-84.adsl.forthnet.gr">nikolakis@ppp149-84.adsl.forthnet.gr</a> * #channel<br>[13:39]     1172579947- mc:banc:join_ nikolakissssssss ~<a href="mailto:nikolakis@ppp149-84.adsl.forthnet.gr">nikolakis@ppp149-84.adsl.forthnet.gr</a> * #hellas<br>[13:39] Error stack   :<br>[13:39]     syntax error in expression "![matchattr [nick2hand $nick] $exempt_flags $channel]]": extra tokens at end of expression<br>[13:39]         ("if" test expression)<br>[13:39]         while compiling<br>[13:39]     "if {![matchattr [nick2hand $nick] $exempt_flags $channel]]} {<br>[13:39]            putserv "WHOIS $nick"<br>[13:39]     }"<br>[13:39]         ("scan" arm line 43)<br>[13:39]         invoked from within<br>[13:39]     "switch -- $command {<br>[13:39]     <br>[13:39]         "has_dcc_access" {<br>[13:39]           foreach {handle channel type} $args break<br>[13:39]     <br>[13:39]           if {$mc_banc(:config:access:$type) == "-|-"} {retu..."<br>[13:39]         (procedure "mc:banc:list_" line 5)<br>[13:39]         invoked from within<br>[13:39]     "mc:banc:list_ scan {nikolakissssssss #channel 0}"<br>[13:39]         ("eval" body line 1)<br>[13:39]         invoked from within<br>[13:39]     "eval $command $args"<br>[13:39] --------------</div></blockquote>This was the error output.. :/<br>Well can you try to make the change on the original, test it and post it here?<br><br>I tryied myself but failed, then tryied to add another exception list with nicknames itself but that failed too..<br>The problem is that this tcl is used in a channel with many IRCops that they get noticed and if you set the rescan interval to be done in every 5 minutes it's very annoying...<br><br>that's why i need this :/<br><br>Thanks in advance..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8749">MoralityAcademy</a> — Tue Feb 27, 2007 9:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-02-27T07:27:39-04:00</updated>

		<published>2007-02-27T07:27:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70779#p70779</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70779#p70779"/>
		<title type="html"><![CDATA[Need Help on a Small Change - Bad Channels on WHOIS tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70779#p70779"><![CDATA[
My suggestion is to add<div class="codebox"><p>Code: </p><pre><code>if {[matchattr [nick2hand $nick] $exempt_flags $channel]} {return 0}</code></pre></div>before <strong class="text-strong">putserv "WHOIS $nick"</strong> at line 1054.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Feb 27, 2007 7:27 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2007-02-27T01:01:11-04:00</updated>

		<published>2007-02-27T01:01:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70778#p70778</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70778#p70778"/>
		<title type="html"><![CDATA[Need Help on a Small Change - Bad Channels on WHOIS tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70778#p70778"><![CDATA[
MC_8 no longer supports the script. So....Your options are to change the code yourself, or wait for someone to re-write it (in other words, don't hold your breath.)  I've been planning to re-write it and simplify it for a while, but since the script works as designed, I've been in no hurry to re-write it. <br><br>In any case, you could probably add a small hack in the part where the whois is run. Find the spot in the script where the whois is run and change it to this:<br><div class="codebox"><p>Code: </p><pre><code>if {![matchattr [nick2hand $nick] $exempt_flags $channel]]} {       putserv "WHOIS $nick"}return 1</code></pre></div>Let me know if that works, I haven't tested it. If it produces an error, post the output of the .set errorInfo command when it encounters an error.<br><br>Edit: Hmm, actually, I'll be very surprised if that doesn't break the script completely, since the script looks for the whois response elsewhere. But, maybe it'll work, let us know =)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Tue Feb 27, 2007 1:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2007-02-27T00:39:00-04:00</updated>

		<published>2007-02-27T00:39:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70777#p70777</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70777#p70777"/>
		<title type="html"><![CDATA[Need Help on a Small Change - Bad Channels on WHOIS tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70777#p70777"><![CDATA[
<a href="http://forum.purehype.net/" class="postlink">http://forum.purehype.net/</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Tue Feb 27, 2007 12:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[MoralityAcademy]]></name></author>
		<updated>2007-02-27T00:18:50-04:00</updated>

		<published>2007-02-27T00:18:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70776#p70776</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70776#p70776"/>
		<title type="html"><![CDATA[Need Help on a Small Change - Bad Channels on WHOIS tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70776#p70776"><![CDATA[
#   chanset &lt;channel&gt; mc.ban_channel.exempt.flags &lt;flags&gt;<br>#  You can set this to exempt users based on there flags from reaction of    #  this script for the specific channel.<br><br>I want to add on the people that have those flags to NOT be whoised at all.<br>(Currently, on the code below they are whoised but not get kicked.. i want them to <strong class="text-strong">NOT be whoised at all</strong>).<br><br>The stable code is the one you can find through the link below:<br><blockquote class="uncited"><div><a href="http://mc.purehype.net/index.tcl?download=Ban+Channel" class="postlink">http://mc.purehype.net/index.tcl?download=Ban+Channel</a></div></blockquote>(Directly from Carl M. Gregory's (Author) website, located at <a href="http://mc.purehype.net" class="postlink">http://mc.purehype.net</a>)<br><br>Thanks in advance to whoever can help me on that...!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8749">MoralityAcademy</a> — Tue Feb 27, 2007 12:18 am</p><hr />
]]></content>
	</entry>
	</feed>
