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

	<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>2012-12-24T12:04:03-04:00</updated>

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

		<entry>
		<author><name><![CDATA[rileyil77]]></name></author>
		<updated>2012-12-24T12:04:03-04:00</updated>

		<published>2012-12-24T12:04:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100494#p100494</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100494#p100494"/>
		<title type="html"><![CDATA[need help with mirclog.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100494#p100494"><![CDATA[
Thanks, Spike!  That worked perfectly.  I ran the mirclog.tcl before and never had the problem.  Thanks again.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6711">rileyil77</a> — Mon Dec 24, 2012 12:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2012-12-23T16:31:33-04:00</updated>

		<published>2012-12-23T16:31:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100484#p100484</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100484#p100484"/>
		<title type="html"><![CDATA[need help with mirclog.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100484#p100484"><![CDATA[
The script in question uses the bad command at least 3 times.<br><br>Search for this string in the tcl...<div class="codebox"><p>Code: </p><pre><code>[time]</code></pre></div>and replace it with something like...<div class="codebox"><p>Code: </p><pre><code>[clock format [clock seconds] -format %H:%M:%S]</code></pre></div>In theory, if the rest of that script works, that code should prefix all logged lines with the bot's time in hour:minute:second format..  20:03:25 <br><br><br>Or to prefix each logged line with "Locale specific date and time", use:<div class="codebox"><p>Code: </p><pre><code>[clock format [clock seconds] -format %c]</code></pre></div>would return something like... Sun Dec 23 20:21:21 2012<br><br>For other time formatting options, see <a href="http://www.tcl.tk/man/tcl8.4/TclCmd/clock.htm" class="postlink">http://www.tcl.tk/man/tcl8.4/TclCmd/clock.htm</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Sun Dec 23, 2012 4:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rileyil77]]></name></author>
		<updated>2012-12-23T15:28:03-04:00</updated>

		<published>2012-12-23T15:28:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100482#p100482</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100482#p100482"/>
		<title type="html"><![CDATA[need help with mirclog.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100482#p100482"><![CDATA[
<blockquote class="uncited"><div>Whilst, as you suggested, the file path variable may not be configured correctly, it is not the cause of the error.<br><br>The script calls the core tcl command <strong class="text-strong">time</strong> but with the wrong number of arguments. I can readily recreate the error below using a public command tcl shell :-<br><br>[16:00] &lt;@arfer&gt; % return [time]<br>[16:00] &lt;@Baal&gt; wrong # args: should be "time command ?count?"</div></blockquote>I, myself am getting the same error with the mirclogs.tcl...  Is there a fix to it?  Sorry to steal a thread, but I thout it was pointless start a new thread for the same issue.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6711">rileyil77</a> — Sun Dec 23, 2012 3:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Donta]]></name></author>
		<updated>2010-03-02T12:08:53-04:00</updated>

		<published>2010-03-02T12:08:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92335#p92335</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92335#p92335"/>
		<title type="html"><![CDATA[need help with mirclog.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92335#p92335"><![CDATA[
Thanks, but i think i'm over complicating things more than needed. All i was after was something to log the chat activity, which i figured out right in the eggdrop.config file. It does what i want and i think i'll just abandon this script all together.<br><br>Thanks for the help though and sorry for wasting your time.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11125">Donta</a> — Tue Mar 02, 2010 12:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arfer]]></name></author>
		<updated>2010-03-02T12:06:33-04:00</updated>

		<published>2010-03-02T12:06:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92334#p92334</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92334#p92334"/>
		<title type="html"><![CDATA[need help with mirclog.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92334#p92334"><![CDATA[
Whilst, as you suggested, the file path variable may not be configured correctly, it is not the cause of the error.<br><br>The script calls the core tcl command <strong class="text-strong">time</strong> but with the wrong number of arguments. I can readily recreate the error below using a public command tcl shell :-<br><br>[16:00] &lt;@arfer&gt; % return [time]<br>[16:00] &lt;@Baal&gt; wrong # args: should be "time command ?count?"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5705">arfer</a> — Tue Mar 02, 2010 12:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Donta]]></name></author>
		<updated>2010-03-02T11:41:05-04:00</updated>

		<published>2010-03-02T11:41:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92333#p92333</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92333#p92333"/>
		<title type="html"><![CDATA[need help with mirclog.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92333#p92333"><![CDATA[
I've installed it on a windows XP machine for Windrop and entered the information to configure it, however when ran it gives error below:<br><div class="codebox"><p>Code: </p><pre><code>Tcl error [mirc_privmsg]: wrong # args: should be "time command ?count?"</code></pre></div>Would this have anything to do with the path the logs are set to save in? (C:\IRCLOGS)<br><br>it looks like this script was written for the linux version of eggdrop because the path was originally set to a /home path. Not sure if this makes a difference.<br><br>Any help would be greatly appreciated.<br><br><a href="http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&amp;id=563" class="postlink">http://www.egghelp.org/cgi-bin/tcl_arch ... oad&amp;id=563</a><br><br>Here's my configuration section. its the only thing i altered.<br><div class="codebox"><p>Code: </p><pre><code>set mirc_path "C:\IRCLOGS"set mirc_stripsign "1"set mirc_ext ".log"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11125">Donta</a> — Tue Mar 02, 2010 11:41 am</p><hr />
]]></content>
	</entry>
	</feed>
