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

	<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-08-26T09:55:47-04:00</updated>

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

		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-08-26T09:55:47-04:00</updated>

		<published>2003-08-26T09:55:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25693#p25693</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25693#p25693"/>
		<title type="html"><![CDATA[Re: Autocreation of Logdirs]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25693#p25693"><![CDATA[
This code is not tested, so don't complain if it doesn't work ;P<div class="codebox"><p>Code: </p><pre><code>if {![string len [info procs logfile]] &amp;&amp; [string len [info commands logfile]]} {rename logfile _logfileproc logfile {args} {if {[llength $args]==3} {file mkdir [file dirname [lindex $args 2]]}eval _logfile $args}}</code></pre></div>EDIT: the dir check i had initially made no sense so I removed it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Tue Aug 26, 2003 9:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-08-26T08:31:32-04:00</updated>

		<published>2003-08-26T08:31:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25689#p25689</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25689#p25689"/>
		<title type="html"><![CDATA[Autocreation of Logdirs]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25689#p25689"><![CDATA[
Hello,<br><br>I'm looking for a script/setting which makes the eggdrop create the logdirs itsself. So if I add 'logfile #chan &lt;setting&gt; "logs/&lt;channel&gt;/&lt;chan&gt;.log' the directory &lt;channel&gt; should be created automatically.<br><br>There should be several ways solving that problem but maybe a simple solution already exists..<br><br>Tanks for help,<br>ok<p>Statistics: Posted by Guest — Tue Aug 26, 2003 8:31 am</p><hr />
]]></content>
	</entry>
	</feed>
