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

	<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-08T14:52:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-04-08T14:52:00-04:00</updated>

		<published>2002-04-08T14:52:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6070#p6070</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6070#p6070"/>
		<title type="html"><![CDATA[getfiles]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6070#p6070"><![CDATA[
The problem is you have an extra set of curly braces.<br><br>set files [{getfiles $homedir}]<br><br>It's trying to execute the command {getfile $homedir}. What you want is to execute getfile, with $homedir as an argument.<br><br>set files [getfiles $homedir]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Mon Apr 08, 2002 2:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-04-08T11:13:00-04:00</updated>

		<published>2002-04-08T11:13:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6066#p6066</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6066#p6066"/>
		<title type="html"><![CDATA[getfiles]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6066#p6066"><![CDATA[
as far as I know, "getfiles" is not an included command. From what you want to do, I suggest "glob".<br><br>glob -directory $dirname *<br><br><a href="http://tmml.sourceforge.net/doc/tcl/glob.html" class="postlink">http://tmml.sourceforge.net/doc/tcl/glob.html</a><p>Statistics: Posted by Guest — Mon Apr 08, 2002 11:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-04-08T10:36:00-04:00</updated>

		<published>2002-04-08T10:36:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6065#p6065</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6065#p6065"/>
		<title type="html"><![CDATA[getfiles]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6065#p6065"><![CDATA[
Hi,<br>I've a problem about the function getfiles.<br>I set in a variable the return value of getfiles (it return the files of a dir).<br>I use:<br>set files [{getfiles $homedir}]<br>putserv "PRIVMSG $chan :$files"<br>[12:30] Tcl error [flist]: invalid command name "getfiles $fhome"<br>I've been loaded the transfer and filesys module, how I can do?<br><br>&lt;font size=-1&gt;[ This Message was edited by: Progeny on 2002-04-08 08:37 ]&lt;/font&gt;<p>Statistics: Posted by Guest — Mon Apr 08, 2002 10:36 am</p><hr />
]]></content>
	</entry>
	</feed>
