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

	<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-04-08T07:46:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-04-08T07:46:00-04:00</updated>

		<published>2002-04-08T07:46:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6063#p6063</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6063#p6063"/>
		<title type="html"><![CDATA[isvoice and channel error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6063#p6063"><![CDATA[
Thx for the fast response on that, however, I found that the problem did in fact reside between the chair and the keyboard! (doh!)<br><br>cheers<br>AjK<p>Statistics: Posted by Guest — Mon Apr 08, 2002 7:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ian-Highlander]]></name></author>
		<updated>2002-04-08T07:36:00-04:00</updated>

		<published>2002-04-08T07:36:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6062#p6062</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6062#p6062"/>
		<title type="html"><![CDATA[isvoice and channel error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6062#p6062"><![CDATA[
Take the "Return" out and put it below the } else { section.<br><div class="codebox"><p>Code: </p><pre><code>bind nick - * checknick proc checknick {nick uhost hand chan newnick} { if { [isvoice $newnick $chan] } { ... do something if voiced } else { ... if not voice do something else } }return } </code></pre></div>as far as the file9 error we'd need to see the rest of the code to see what its doing.<br><br>Regards<br><br>Ian-Highlander<br><br>_________________<br>If the automobile had followed the same development cycle as the computer, a Rolls-Royce today would cost £100, get a million miles to the gallon, and explode once every few weeks, killing everyone inside.<br><br><a href="http://www.eggdropsrus.co.uk" class="postlink">http://www.eggdropsrus.co.uk</a><br><br>&lt;font size=-1&gt;[ This Message was edited by: Ian-Highlander on 2002-04-08 05:38 ]&lt;/font&gt;<br><br>&lt;font size=-1&gt;[ This Message was edited by: Ian-Highlander on 2002-04-08 05:39 ]&lt;/font&gt;<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=17">Ian-Highlander</a> — Mon Apr 08, 2002 7:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-04-08T07:31:00-04:00</updated>

		<published>2002-04-08T07:31:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6061#p6061</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6061#p6061"/>
		<title type="html"><![CDATA[isvoice and channel error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6061#p6061"><![CDATA[
Hi All<br><br>I have a simple script as follows....<br><br>bind nick - * checknick<br>proc checknick {nick uhost hand chan newnick} {<br> if { [isvoice $newnick $chan] } {<br> ... do something if voiced<br> return<br> } else {<br> ... if not voice do something else<br>  }<br> }<br>}<br><br>Now, when a user changes their nickname and they are voiced, the if {} works fine. However, if they are not voiced I expected the else {} to execute, however, it doestn't and I get the following error message in the log....<br><br>TCL error [checknick]: can not find channel named "file9"<br><br>The last bit, "file9" changes, sometimes "file7" etc. Anyone know why it's failing? What have I missed here?<br><br>cheers<br>AjK<p>Statistics: Posted by Guest — Mon Apr 08, 2002 7:31 am</p><hr />
]]></content>
	</entry>
	</feed>
