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

	<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>2003-02-17T21:26:08-04:00</updated>

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

		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2003-02-17T21:26:08-04:00</updated>

		<published>2003-02-17T21:26:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16730#p16730</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16730#p16730"/>
		<title type="html"><![CDATA[set temp-path &quot;/tmp&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16730#p16730"><![CDATA[
Putting "-" in variable names was an interesting decision for eggdrop hehe. To read the vars, do ${temp-path} and it should work.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Mon Feb 17, 2003 9:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simonbell]]></name></author>
		<updated>2003-02-17T20:29:19-04:00</updated>

		<published>2003-02-17T20:29:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16728#p16728</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16728#p16728"/>
		<title type="html"><![CDATA[set temp-path &quot;/tmp&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16728#p16728"><![CDATA[
When i try to use $temp-path as a global string i receive the error:<br><blockquote class="uncited"><div>&lt;llamalist&gt; [00:20] Tcl error [test]: can't read "temp": no such variable</div></blockquote>which was just taken from the script<br><blockquote class="uncited"><div>proc test {nick uhost hand chan text} {<br> global temp-path<br> putlog "$temp-path"<br>}</div></blockquote>what am i missing? It seems to work fine with other global variables which dont have - in.<br><br>Simon<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1696">simonbell</a> — Mon Feb 17, 2003 8:29 pm</p><hr />
]]></content>
	</entry>
	</feed>
