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

	<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-06-01T17:53:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[[Nero]]]></name></author>
		<updated>2002-06-01T17:53:00-04:00</updated>

		<published>2002-06-01T17:53:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=7552#p7552</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=7552#p7552"/>
		<title type="html"><![CDATA[can anyone tell me why this dont work please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=7552#p7552"><![CDATA[
thanx Guys<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1317">[Nero]</a> — Sat Jun 01, 2002 5:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-06-01T17:22:00-04:00</updated>

		<published>2002-06-01T17:22:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=7551#p7551</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=7551#p7551"/>
		<title type="html"><![CDATA[can anyone tell me why this dont work please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=7551#p7551"><![CDATA[
So the script is now :<div class="codebox"><p>Code: </p><pre><code>set isopen 0 set chanbotopen "#mychan" ################### bind dcc o botopen botopen proc botopen {nick idx arg} {   global isopen chanbotopen  if {$isopen = 1} {     putdcc $idx "Passw0rdz Is ALready open"   } {     putserv "TOPIC $chanbotopen : |Open|"     set isopen 1   } } putlog "Script Loaded " </code></pre></div><p>Statistics: Posted by Guest — Sat Jun 01, 2002 5:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Petersen]]></name></author>
		<updated>2002-06-01T14:54:00-04:00</updated>

		<published>2002-06-01T14:54:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=7546#p7546</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=7546#p7546"/>
		<title type="html"><![CDATA[can anyone tell me why this dont work please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=7546#p7546"><![CDATA[
because you haven't declaired isopen and chan as global variables in the proc, you've missed a $ in the if statement, and you've missed spaces before and after the else.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=60">Petersen</a> — Sat Jun 01, 2002 2:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[[Nero]]]></name></author>
		<updated>2002-06-01T14:51:00-04:00</updated>

		<published>2002-06-01T14:51:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=7545#p7545</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=7545#p7545"/>
		<title type="html"><![CDATA[can anyone tell me why this dont work please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=7545#p7545"><![CDATA[
set isopen 0<br>set chan "#mychan"<br>###################<br>bind dcc o botopen      botopen<br>proc botopen {nick idx arg} {<br>if {isopen = 1} {<br>putdcc $idx "Passw0rdz Is ALready open"<br>}else{<br>putserv "TOPIC $chan : |Open|"<br>set isopen 1<br>}<br>}<br>putlog "Script Loaded "<br><br><br>all i can get is extra characters after close-brace or cannot read isopen <br><br>Thankvm you<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1317">[Nero]</a> — Sat Jun 01, 2002 2:51 pm</p><hr />
]]></content>
	</entry>
	</feed>
