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

	<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-07T20:12:34-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-12-07T20:12:34-04:00</updated>

		<published>2002-12-07T20:12:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14084#p14084</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14084#p14084"/>
		<title type="html"><![CDATA[problem making tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14084#p14084"><![CDATA[
I have just noticed why this is happening.<br><br>You are overwritting the sendftp command.<br><br>In the example code you gave above, you have created a sendftp command, which you are calling to send the file.<br><br>This is overwritting the sendftp command you need to use to realy send the file.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sat Dec 07, 2002 8:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-12-07T15:42:39-04:00</updated>

		<published>2002-12-07T15:42:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14078#p14078</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14078#p14078"/>
		<title type="html"><![CDATA[problem making tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14078#p14078"><![CDATA[
it is loaded in the config file off my eggdrop<br>source scripts/sendftp.tcl with others words<br><br>and without the exec, it doesn't work to<br>but it can work because in the tcl (chanstats.tcl) off the same writer<br>it works but that stats isen't what i want, it's not that nice<br>but i can't get that part out of it<p>Statistics: Posted by Guest — Sat Dec 07, 2002 3:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-12-07T15:16:33-04:00</updated>

		<published>2002-12-07T15:16:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14077#p14077</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14077#p14077"/>
		<title type="html"><![CDATA[problem making tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14077#p14077"><![CDATA[
sendftp is not a shell script, and as such, you don't use the exec command.<br><br>The exec command is used to launch and return the data from a application on the server.<br><br>This is a Tcl script, and as such, provides a new Tcl command.<br><br>As you posted in the message, it has come straight fromt he top of sendftp.tcl. You should use a it as such.<br><br>First place the sendftp.tcl in your script directory. Edit your config file, and load it like a normal Tcl script.<br><br>You can then simply use the command as you have posted, but without the xec part.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sat Dec 07, 2002 3:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-12-07T15:07:35-04:00</updated>

		<published>2002-12-07T15:07:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14076#p14076</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14076#p14076"/>
		<title type="html"><![CDATA[problem making tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14076#p14076"><![CDATA[
hey<br><br>i have sendftp.tcl and i want it to use it with a timer<br><br># For example:<br>#<br># sendftp /home/bill/stats.htm <a href="http://www.ms.com" class="postlink">www.ms.com</a> bill secret /bgates/WWW/stats.htm<br>#             (local-file          server       user      pass           remote-file)<br><br>this come's out off the tcl <br>now i want to upload my statspage<br><br>i had made this:<br>proc sendftp {} {<br>    exec sendftp /home/linuxke/eggdrop/stats/vlgstats.html users.pandora.be user paswoord /stats/vlgstats.html<br>    timer 30 sendftp<br>}<br>it give's no errors but it does nothing to :p<br>i have searched in the forum but i cant find a good explanetion<br>i'm a newbie in tcl-scripting (thats my biggest problem i think :p)<br>so if someone knows what i have to set in the tcl i realy would apriciat it<br>(and yes my english is crappy :p i'm from belgium and speak dutch :p)<p>Statistics: Posted by Guest — Sat Dec 07, 2002 3:07 pm</p><hr />
]]></content>
	</entry>
	</feed>
