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

	<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-04-12T17:55:50-04:00</updated>

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

		<entry>
		<author><name><![CDATA[kitsaras]]></name></author>
		<updated>2006-04-12T17:55:50-04:00</updated>

		<published>2006-04-12T17:55:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61845#p61845</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61845#p61845"/>
		<title type="html"><![CDATA[script request if possible]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61845#p61845"><![CDATA[
<blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>set logfile "/home/blabla/public_html/bot.log"bind pubm - "% !*" cmd:logbind pubm - "% .*" cmd:logproc cmd:log {n u h c t} {        set cmdlog [open ${::logfile} a+]        set timestamp [clock format [clock seconds]]        puts $cmdlog "\[$timestamp\] $t used by $n in $c"        close $cmdlog}</code></pre></div>This should be what you're looking for.</div></blockquote>I just change the logfile from config to the public_html and works fine <br><img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> thank u very much <strong class="text-strong">DragnLord</strong><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7328">kitsaras</a> — Wed Apr 12, 2006 5:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2006-04-12T15:00:49-04:00</updated>

		<published>2006-04-12T15:00:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61837#p61837</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61837#p61837"/>
		<title type="html"><![CDATA[script request if possible]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61837#p61837"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set logfile "/home/blabla/public_html/bot.log"bind pubm - "% !*" cmd:logbind pubm - "% .*" cmd:logproc cmd:log {n u h c t} {        set cmdlog [open ${::logfile} a+]        set timestamp [clock format [clock seconds]]        puts $cmdlog "\[$timestamp\] $t used by $n in $c"        close $cmdlog}</code></pre></div>This should be what you're looking for.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Wed Apr 12, 2006 3:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[kitsaras]]></name></author>
		<updated>2006-04-12T14:38:25-04:00</updated>

		<published>2006-04-12T14:38:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61835#p61835</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61835#p61835"/>
		<title type="html"><![CDATA[script request if possible]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61835#p61835"><![CDATA[
<blockquote class="uncited"><div>This will place public commands starting with "!" or "." in the bot's log file (also shows on partyline with the correct console flags).<br><div class="codebox"><p>Code: </p><pre><code>bind pubm - "% !*" cmd:logbind pubm - "% .*" cmd:logproc cmd:log {n u h c t} {        putlog "Public Command Logger: $t used by $n in $c"}</code></pre></div></div></blockquote><br>Works fine i check it but is there any way to change the log dir ex /home/blabla/public_html/bot.log  ?<br><br>thank u.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7328">kitsaras</a> — Wed Apr 12, 2006 2:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2006-04-12T12:00:38-04:00</updated>

		<published>2006-04-12T12:00:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61829#p61829</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61829#p61829"/>
		<title type="html"><![CDATA[script request if possible]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61829#p61829"><![CDATA[
This will place public commands starting with "!" or "." in the bot's log file (also shows on partyline with the correct console flags).<br><div class="codebox"><p>Code: </p><pre><code>bind pubm - "% !*" cmd:logbind pubm - "% .*" cmd:logproc cmd:log {n u h c t} {        putlog "Public Command Logger: $t used by $n in $c"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Wed Apr 12, 2006 12:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[kitsaras]]></name></author>
		<updated>2006-04-12T06:59:11-04:00</updated>

		<published>2006-04-12T06:59:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61826#p61826</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61826#p61826"/>
		<title type="html"><![CDATA[script request if possible]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61826#p61826"><![CDATA[
Hello. I want to request a tcl script if possible.<br>I want a script to log <strong class="text-strong">all the public commands</strong> ex ( !  . ) in my channel when a user give a command !blabla or .blabla to log it in a txt  and if its possible ( if ) to sent it in a specific email.<br><br>Thank u.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7328">kitsaras</a> — Wed Apr 12, 2006 6:59 am</p><hr />
]]></content>
	</entry>
	</feed>
