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

	<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>2008-07-27T18:49:05-04:00</updated>

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

		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2008-07-27T18:49:05-04:00</updated>

		<published>2008-07-27T18:49:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=84200#p84200</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=84200#p84200"/>
		<title type="html"><![CDATA[write log]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=84200#p84200"><![CDATA[
I'd do something like this:<div class="codebox"><p>Code: </p><pre><code>set filename "/home/user/eggdrop/BOTNAME-[clock format [clock seconds] -format "%Y-%m-%d"].log"set fID [open $filename "WRONLY CREAT APPEND"]puts $fID "Some textline"close $fID</code></pre></div>Edit: Forgot to open the file in append-mode, fixed now<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sun Jul 27, 2008 6:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[urgido]]></name></author>
		<updated>2008-07-27T15:15:33-04:00</updated>

		<published>2008-07-27T15:15:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=84194#p84194</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=84194#p84194"/>
		<title type="html"><![CDATA[write log]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=84194#p84194"><![CDATA[
how i can create a .log file with this format:<br><br>BOTNAME-(dd-mm-yy).log<br><br>And then write on the file a line.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10075">urgido</a> — Sun Jul 27, 2008 3:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2008-07-26T11:07:36-04:00</updated>

		<published>2008-07-26T11:07:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=84171#p84171</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=84171#p84171"/>
		<title type="html"><![CDATA[write log]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=84171#p84171"><![CDATA[
putlog, putcmdlog, putxferlog, putloglev<br><blockquote class="uncited"><div>putlog &lt;text&gt;<br>    Description: sends text to the bot's logfile, marked as 'misc' (o)<br>    Returns: nothing<br>    Module: core<br><br>  putcmdlog &lt;text&gt;<br>    Description: sends text to the bot's logfile, marked as 'command' (c)<br>    Returns: nothing<br>    Module: core<br><br>  putxferlog &lt;text&gt;<br>    Description: sends text to the bot's logfile, marked as 'file-area' (x)<br>    Returns: nothing<br>    Module: core<br><br>  putloglev &lt;level(s)&gt; &lt;channel&gt; &lt;text&gt;<br>    Description: sends text to the bot's logfile, tagged with all of the<br>      valid levels given. Use "*" to indicate all log levels.<br>    Returns: nothing<br>    Module: core</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sat Jul 26, 2008 11:07 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[urgido]]></name></author>
		<updated>2008-07-26T01:30:58-04:00</updated>

		<published>2008-07-26T01:30:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=84168#p84168</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=84168#p84168"/>
		<title type="html"><![CDATA[write log]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=84168#p84168"><![CDATA[
which the command to force an eggdrop to write a log???<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10075">urgido</a> — Sat Jul 26, 2008 1:30 am</p><hr />
]]></content>
	</entry>
	</feed>
