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

	<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>2006-11-23T12:08:38-04:00</updated>

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

		<entry>
		<author><name><![CDATA[inertia]]></name></author>
		<updated>2006-11-23T12:08:38-04:00</updated>

		<published>2006-11-23T12:08:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68366#p68366</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68366#p68366"/>
		<title type="html"><![CDATA[Customizing public channel logs]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68366#p68366"><![CDATA[
oh wow!  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_surprised.gif" width="15" height="15" alt=":o" title="Surprised">  thanks a ton, man!  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> I'll try it soon!<br><br>:bowdown:<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8402">inertia</a> — Thu Nov 23, 2006 12:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-11-22T11:33:13-04:00</updated>

		<published>2006-11-22T11:33:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68337#p68337</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68337#p68337"/>
		<title type="html"><![CDATA[Customizing public channel logs]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68337#p68337"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>foreach logchan [channels] { set logchan [string tolower $logchan] if {[file exists logs/$logchan.pub.log]} {  set publog($logchan) [split [read [set inf [open logs/$logchan.pub.log]]] "\n"][close $inf] }}setudef flag publogbind pubm - * logtextbind time - ?0* savelogproc logtext {nick uhost hand chan arg} { global publog if {[channel get $chan publog]} {  lappend publog([string tolower $chan]) $text }}proc savelog {m h args} { global publog foreach c [channels] {  set c [string tolower $chan]  if {[info exists publog($c)] &amp;&amp; [channel get $c publog]} {   if {[regexp {03:00} $h:$m]} {    if {[file exists logs/$c.pub.log]} {     set bla [open logs/$c.pub.log.yesterday w]     foreach e $publog($c) {      puts $bla $e     }     close $bla     set publog($c) [list]    }   } {    set bla [open logs/$c.pub.log w]    foreach e $publog($c) {     puts $bla $e    }    close $bla   }  } }}</code></pre></div>It will log only channels that have +publog chan setting. And the logs will be saved in the logs/ directory.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Wed Nov 22, 2006 11:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[inertia]]></name></author>
		<updated>2006-11-22T11:13:55-04:00</updated>

		<published>2006-11-22T11:13:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68334#p68334</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68334#p68334"/>
		<title type="html"><![CDATA[Customizing public channel logs]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68334#p68334"><![CDATA[
just the public text and absolutely nothing else<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8402">inertia</a> — Wed Nov 22, 2006 11:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-11-22T10:28:16-04:00</updated>

		<published>2006-11-22T10:28:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68331#p68331</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68331#p68331"/>
		<title type="html"><![CDATA[Customizing public channel logs]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68331#p68331"><![CDATA[
So, what exactly do you want to log? (msgs, notices, parts, joins...etc).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Wed Nov 22, 2006 10:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[inertia]]></name></author>
		<updated>2006-11-22T00:08:32-04:00</updated>

		<published>2006-11-22T00:08:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68321#p68321</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68321#p68321"/>
		<title type="html"><![CDATA[Customizing public channel logs]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68321#p68321"><![CDATA[
yeah if I knew how to make it  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8402">inertia</a> — Wed Nov 22, 2006 12:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-11-21T22:59:14-04:00</updated>

		<published>2006-11-21T22:59:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68318#p68318</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68318#p68318"/>
		<title type="html"><![CDATA[Customizing public channel logs]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68318#p68318"><![CDATA[
Short of hacking the source? I don't believe so... You could always make a little script to basically do a custom log.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Tue Nov 21, 2006 10:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[inertia]]></name></author>
		<updated>2006-11-22T00:07:57-04:00</updated>

		<published>2006-11-21T06:21:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68279#p68279</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68279#p68279"/>
		<title type="html"><![CDATA[Customizing public channel logs]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68279#p68279"><![CDATA[
Hello<br><br>I would like to know if there is a way to exclude timestamps and nicknames and /me's from being logged when logging public channels (p).<br><br>Thanks in advance.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8402">inertia</a> — Tue Nov 21, 2006 6:21 am</p><hr />
]]></content>
	</entry>
	</feed>
