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

	<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-07-06T02:10:57-04:00</updated>

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

		<entry>
		<author><name><![CDATA[SaPrOuZy]]></name></author>
		<updated>2006-07-06T02:10:57-04:00</updated>

		<published>2006-07-06T02:10:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64510#p64510</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64510#p64510"/>
		<title type="html"><![CDATA[need to rehash bot to change log files for custom tcl?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64510#p64510"><![CDATA[
put <div class="codebox"><p>Code: </p><pre><code>set joins "/www/htdocs/dialtone_radio/logs/irc_$date.log"</code></pre></div>before every <div class="codebox"><p>Code: </p><pre><code>set file [open $::joins a] </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4727">SaPrOuZy</a> — Thu Jul 06, 2006 2:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[xcoldfyrex]]></name></author>
		<updated>2006-07-01T16:26:05-04:00</updated>

		<published>2006-07-01T16:26:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64464#p64464</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64464#p64464"/>
		<title type="html"><![CDATA[need to rehash bot to change log files for custom tcl?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64464#p64464"><![CDATA[
<strong class="text-strong">im sure the coding can be better</strong><br>in order for it to start writing to a different file, the bot needs to be rehashed, and i dont want this, it should just log to a file based on the realtime date<br><br><div class="codebox"><p>Code: </p><pre><code>###########################THIS TCL BY COLDFYREbind pubm - "*" save_messagebind join - "*" save_joinbind part - "*" save_partbind sign - "*" save_signbind topc - "*" save_topcbind kick - "*" save_kickbind nick - "*" save_nickbind mode - "*" save_modeset date [clock format [clock seconds] -format "%d_%m_%y"]set times [clock format [clock seconds] -format "%T"]set thechan "#dialtone"set joins "/www/htdocs/dialtone_radio/logs/irc_$date.log"proc save_message {nick uhost handle chan text} {        set date [clock format [clock seconds] -format "%d_%m_%y"]        set times [clock format [clock seconds] -format "%T"]        if {$chan == "#dialtone"} {                set file [open $::joins a]                puts $file "$times $nick: $text (00)"                catch {close $file}        }}proc save_join {nick uhost handle chan} {        set date [clock format [clock seconds] -format "%d_%m_%y"]        set times [clock format [clock seconds] -format "%T"]        if {$chan  == "#dialtone"} {                set file [open $::joins a]                puts $file "$times JOIN $nick ($uhost)(00)"                catch {close $file}        }}proc save_part {nick uhost handle chan msg} {        set date [clock format [clock seconds] -format "%d_%m_%y"]        set times [clock format [clock seconds] -format "%T"]        if {$chan == "#dialtone"} {                set file [open $::joins a]                puts $file "$times PART $nick ($uhost)(00)"                catch {close $file}        }}proc save_sign {nick uhost handle chan msg} {        set date [clock format [clock seconds] -format "%d_%m_%y"]        set times [clock format [clock seconds] -format "%T"]        if {$chan == "#dialtone"} {                set file [open $::joins a]                puts $file "$times QUIT $nick ($uhost) REASON: $msg (00)"                catch {close $file}        }}proc save_topc {nick uhost handle chan topic} {        set date [clock format [clock seconds] -format "%d_%m_%y"]        set times [clock format [clock seconds] -format "%T"]        if {$chan == "#dialtone"} {                set file [open $::joins a]                puts $file "$times $nick ($uhost) sets topic: $topic (00)"                catch {close $file}        }}proc save_kick {nick uhost handle chan target reason} {        set times [clock format [clock seconds] -format "%T"]        if {$chan == "#dialtone"} {                set file [open $::joins a]                puts $file "$times $nick ($uhost) kicked $target because $reason (00)"                catch {close $file}        }}proc save_nick {nick uhost handle chan newnick} {        set date [clock format [clock seconds] -format "%d_%m_%y"]        set times [clock format [clock seconds] -format "%T"]        if {$chan == "#dialtone"} {                set file [open $::joins a]                puts $file "$times $nick changed nick to $newnick (00)"                catch {close $file}        }}proc save_mode {nick uhost handle chan mode victim} {        set date [clock format [clock seconds] -format "%d_%m_%y"]        set times [clock format [clock seconds] -format "%T"]        if {$chan == "#dialtone"} {                set file [open $::joins a]                if {$victim == "" } {                        puts $file "$times $nick sets mode: $mode (00)"                } else {                        puts $file "$times $nick sets mode $mode on $victim (00)"}                catch {close $file}        }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6412">xcoldfyrex</a> — Sat Jul 01, 2006 4:26 pm</p><hr />
]]></content>
	</entry>
	</feed>
