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

	<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-12-07T17:52:04-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Dw2k]]></name></author>
		<updated>2002-12-07T17:52:04-04:00</updated>

		<published>2002-12-07T17:52:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14081#p14081</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14081#p14081"/>
		<title type="html"><![CDATA[tcl giving me gripe :|]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14081#p14081"><![CDATA[
edit: scratch that, fixed it <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> ty Godin<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2329">Dw2k</a> — Sat Dec 07, 2002 5:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Dw2k]]></name></author>
		<updated>2002-12-07T16:43:21-04:00</updated>

		<published>2002-12-07T16:43:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14080#p14080</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14080#p14080"/>
		<title type="html"><![CDATA[tcl giving me gripe :|]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14080#p14080"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub nA !needop cmd:needopproc cmd:needop {nick uhost hand chan args} { global hubchan userchan if {![matchattr $hand Q]} { return 0 } set message "" foreach chans [channels] { foreach user [chanlist $chans] {  if {![botisop $chans] &amp;&amp; [isop $user $chans] &amp;&amp; ($chan != $userchan) &amp;&amp; ($chan != $hubchan)} {   set message "$message \002\00310$chans\003\002"   set noops 0   break  } elseif {![botisop $chans] &amp;&amp; ![isop $user $chans] &amp;&amp; ($chan != $userchan) &amp;&amp; ($chan != $hubchan)} {   set noops 1  } } } if {$noops == 1} {  set message "$message \002\0034$chans\003\002" } if {$message != ""} {  puthelp "PRIVMSG $hubchan :Needop: $message" }}</code></pre></div>This looks right but it gives me<blockquote class="uncited"><div>can't read "noops": no such variable</div></blockquote>Im usually pretty good at spotting the mistake but this one has me stumped. Anyone help me oot?  <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=2329">Dw2k</a> — Sat Dec 07, 2002 4:43 pm</p><hr />
]]></content>
	</entry>
	</feed>
