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

	<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>2004-07-10T15:29:40-04:00</updated>

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

		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2004-07-10T15:29:40-04:00</updated>

		<published>2004-07-10T15:29:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38421#p38421</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38421#p38421"/>
		<title type="html"><![CDATA[Log scripts]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38421#p38421"><![CDATA[
This should do it<br><div class="codebox"><p>Code: </p><pre><code>set logdir "logs/"bind dcc -|- makelog dcc:makelogproc dcc:makelog {hand idx arg} {global logdir set logmsg [lrange $arg 0 end] set filename $logdir$hand\_[strftime %m-%d-%y].log if {![file exists $filename]} {   set fp [open $filename w]   puts $fp "[strftime \[%H:%M\]] [join $logmsg]"   putdcc $idx "Writing '[join $logmsg]' to $filename" } else {   set fp [open $filename a]   puts $fp "[strftime \[%H:%M\]] [join $logmsg]"   putdcc $idx "Adding '[join $logmsg]' to $filename" } close $fp }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Sat Jul 10, 2004 3:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Pitchat]]></name></author>
		<updated>2004-06-12T20:13:07-04:00</updated>

		<published>2004-06-12T20:13:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37272#p37272</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37272#p37272"/>
		<title type="html"><![CDATA[Log scripts]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37272#p37272"><![CDATA[
Hi !<br><br>her`s my problem , i want a tcl that when i do in dcc something like <br><br>.makelog (some text) <br><br>it creates a logfile ( or txt file) with the date and handle of the user that make the .makelog command as filename<br><br>exemple<br><br>if i do in dcc <br><br>.makelog here i write some useless text <br><br>it will creat a file named pitchat 01-01-01.txt ( or .log) in a directory of my choice <br><br>thanks <br><br>Pitchat<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2723">Pitchat</a> — Sat Jun 12, 2004 8:13 pm</p><hr />
]]></content>
	</entry>
	</feed>
