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

	<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>2009-10-21T02:52:53-04:00</updated>

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

		<entry>
		<author><name><![CDATA[raider2k]]></name></author>
		<updated>2009-10-21T02:52:53-04:00</updated>

		<published>2009-10-21T02:52:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90589#p90589</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90589#p90589"/>
		<title type="html"><![CDATA[Write to temp file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90589#p90589"><![CDATA[
exec rm -f $filename<br><br>would be a different way to do it<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9589">raider2k</a> — Wed Oct 21, 2009 2:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2009-10-20T11:38:06-04:00</updated>

		<published>2009-10-20T11:38:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90584#p90584</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90584#p90584"/>
		<title type="html"><![CDATA[Write to temp file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90584#p90584"><![CDATA[
<blockquote class="uncited"><div>lol typical that it would be that easy I expected the solution to be a little more difficult than that thanks for the reply appreciated. Havent tested it but if its that easy to delete then Im sure it will be fine.</div></blockquote>You're welcome.   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>I hope it helped.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Tue Oct 20, 2009 11:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ShavdApe]]></name></author>
		<updated>2009-10-18T13:09:43-04:00</updated>

		<published>2009-10-18T13:09:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90545#p90545</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90545#p90545"/>
		<title type="html"><![CDATA[Write to temp file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90545#p90545"><![CDATA[
lol typical that it would be that easy I expected the solution to be a little more difficult than that thanks for the reply appreciated. Havent tested it but if its that easy to delete then Im sure it will be fine.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4266">ShavdApe</a> — Sun Oct 18, 2009 1:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2009-10-18T12:56:11-04:00</updated>

		<published>2009-10-18T12:56:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90544#p90544</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90544#p90544"/>
		<title type="html"><![CDATA[Re: Write to temp file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90544#p90544"><![CDATA[
<blockquote class="uncited"><div>I need a bot to write to a temp file send that fiel via dcc then delete it is it even possible?<br><br>I understand how to write to a file and I also know how to dcc that file but what about delete the file is it possible? <br>Would I need to set a time to delete the file or could I do it after use? <br><br>Im sorry if this has been posted before but its hard to know how best to find an answer to this one. The word delete has been used many times as has the word temp or temporary.</div></blockquote>I have one script that I wrote for my own use, that can delete a file.<br>The line is similar to this:   <br>if [ file exists $_filename ] {file delete $filename }<br><br>Since you said you can write to a file,  that means you KNOW where the file is, and how to find it. ....  you won't have any problems with deleting something you don't want to delete.    <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>     <br><a href="http://www.tcl.tk/man/tcl8.5/" class="postlink">http://www.tcl.tk/man/tcl8.5/</a><br>and specifically:<br><a href="http://www.tcl.tk/man/tcl8.5/TclCmd/file.htm#M12" class="postlink">http://www.tcl.tk/man/tcl8.5/TclCmd/file.htm#M12</a><br><br>were helpful to me.   Maybe they will help you too.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Sun Oct 18, 2009 12:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ShavdApe]]></name></author>
		<updated>2009-10-18T09:17:11-04:00</updated>

		<published>2009-10-18T09:17:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90542#p90542</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90542#p90542"/>
		<title type="html"><![CDATA[Write to temp file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90542#p90542"><![CDATA[
I need a bot to write to a temp file send that fiel via dcc then delete it is it even possible?<br><br>I understand how to write to a file and I also know how to dcc that file but what about delete the file is it possible? <br>Would I need to set a time to delete the file or could I do it after use? <br><br>Im sorry if this has been posted before but its hard to know how best to find an answer to this one. The word delete has been used many times as has the word temp or temporary.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4266">ShavdApe</a> — Sun Oct 18, 2009 9:17 am</p><hr />
]]></content>
	</entry>
	</feed>
