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

	<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-16T05:34:58-04:00</updated>

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

		<entry>
		<author><name><![CDATA[CuteBangla]]></name></author>
		<updated>2006-04-16T05:34:58-04:00</updated>

		<published>2006-04-16T05:34:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61986#p61986</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61986#p61986"/>
		<title type="html"><![CDATA[need a script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61986#p61986"><![CDATA[
is there any way to save tha log to a remote ftp folder??<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7425">CuteBangla</a> — Sun Apr 16, 2006 5:34 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CuteBangla]]></name></author>
		<updated>2006-04-15T09:55:20-04:00</updated>

		<published>2006-04-15T09:55:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61959#p61959</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61959#p61959"/>
		<title type="html"><![CDATA[need a script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61959#p61959"><![CDATA[
one more thnk is it possible to upload this html file to a remote host folder<br>i mean not in shell in some other host ??<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7425">CuteBangla</a> — Sat Apr 15, 2006 9:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-04-15T08:23:08-04:00</updated>

		<published>2006-04-15T08:23:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61957#p61957</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61957#p61957"/>
		<title type="html"><![CDATA[need a script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61957#p61957"><![CDATA[
Change<div class="codebox"><p>Code: </p><pre><code>bind pubm - * cmd:log</code></pre></div>to<div class="codebox"><p>Code: </p><pre><code>bind pubm - "#chan *" cmd:log</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Apr 15, 2006 8:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CuteBangla]]></name></author>
		<updated>2006-04-15T08:04:53-04:00</updated>

		<published>2006-04-15T08:04:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61956#p61956</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61956#p61956"/>
		<title type="html"><![CDATA[need a script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61956#p61956"><![CDATA[
will u please tell me how can i define a singel channel??<br><br><br><blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>set logfile "/home/blabla/public_html/index.html"# set for logfile lengthset linecount 20bind pubm - * cmd:logset filecount 0proc cmd:log {n u h c t} {   set cmdlog [open ${::logfile} a+]   set timestamp [clock format [clock seconds] -format {%Y-%m-%d %H:%M:%S}]   puts $cmdlog "\[$timestamp\] &lt;$n&gt; $t &lt;br&gt;"   close $cmdlog   set pline [lindex [exec wc -l ${::logfile}] 0]   if {${::filecount} &gt;= ${::linecount}}{      exec tail -n${::linecount} ${::logfile} &gt; ${::logfile}      set ::filecount 0   }   incr ::filecount} </code></pre></div>Give this a try. Should update the webpage the way you want.</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7425">CuteBangla</a> — Sat Apr 15, 2006 8:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2006-04-15T04:16:31-04:00</updated>

		<published>2006-04-15T04:16:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61949#p61949</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61949#p61949"/>
		<title type="html"><![CDATA[need a script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61949#p61949"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set logfile "/home/blabla/public_html/index.html"# set for logfile lengthset linecount 20bind pubm - * cmd:logset filecount 0proc cmd:log {n u h c t} {   set cmdlog [open ${::logfile} a+]   set timestamp [clock format [clock seconds] -format {%Y-%m-%d %H:%M:%S}]   puts $cmdlog "\[$timestamp\] &lt;$n&gt; $t &lt;br&gt;"   close $cmdlog   set pline [lindex [exec wc -l ${::logfile}] 0]   if {${::filecount} &gt;= ${::linecount}}{      exec tail -n${::linecount} ${::logfile} &gt; ${::logfile}      set ::filecount 0   }   incr ::filecount} </code></pre></div>Give this a try. Should update the webpage the way you want.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Sat Apr 15, 2006 4:16 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CuteBangla]]></name></author>
		<updated>2006-04-15T02:36:00-04:00</updated>

		<published>2006-04-15T02:36:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61945#p61945</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61945#p61945"/>
		<title type="html"><![CDATA[need a script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61945#p61945"><![CDATA[
so is this the final script?<br>will it delete evry old line after X new lines?<br><div class="codebox"><p>Code: </p><pre><code>set logfile "/home/blabla/public_html/index.html" bind pubm - * cmd:log proc cmd:log {n u h c t} { set cmdlog [open ${::logfile} a+] set timestamp [clock format [clock seconds] -format {%Y-%m-%d %H:%M:%S}]puts $cmdlog "\[$timestamp\] &lt;$n&gt; $t &lt;br&gt;" close $cmdlog } </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7425">CuteBangla</a> — Sat Apr 15, 2006 2:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2006-04-15T02:20:30-04:00</updated>

		<published>2006-04-15T02:20:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61944#p61944</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61944#p61944"/>
		<title type="html"><![CDATA[need a script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61944#p61944"><![CDATA[
A single 'bind pubm - * cmd:log' is all that is needed.<br>The script would update the page in real time.<br>Changing<div class="codebox"><p>Code: </p><pre><code>puts $cmdlog "\[$timestamp\] $t used by $n in $c"</code></pre></div>to<div class="codebox"><p>Code: </p><pre><code>puts $cmdlog "\[$timestamp\] &lt;$n&gt; $t &lt;br&gt;"</code></pre></div>will format the file for html.<br><div class="codebox"><p>Code: </p><pre><code>set timestamp [clock format [clock seconds] -format {%Y-%m-%d %H:%M:%S}]</code></pre></div> will give a better timestamp for webpages<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Sat Apr 15, 2006 2:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CuteBangla]]></name></author>
		<updated>2006-04-15T02:01:58-04:00</updated>

		<published>2006-04-15T02:01:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61943#p61943</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61943#p61943"/>
		<title type="html"><![CDATA[need a script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61943#p61943"><![CDATA[
is this will be the script?<br><div class="codebox"><p>Code: </p><pre><code>set logfile "/home/blabla/public_html/index.html" bind pubm - * cmd:log bind pubm - * cmd:log proc 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>i want to have that as html file<br>that any1 can see &amp; mayb that index file ill refresh after evry X seconds or after a new public message in the channel .... &amp; delet old line after evry 20 new lines ...<br><blockquote class="uncited"><div>Look at the second script I wrote in <a href="http://forum.egghelp.org/viewtopic.php?t=11651" class="postlink"><strong class="text-strong">this thread</strong></a>.</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7425">CuteBangla</a> — Sat Apr 15, 2006 2:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2006-04-15T01:51:10-04:00</updated>

		<published>2006-04-15T01:51:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61940#p61940</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61940#p61940"/>
		<title type="html"><![CDATA[need a script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61940#p61940"><![CDATA[
Look at the second script I wrote in <a href="http://forum.egghelp.org/viewtopic.php?t=11651" class="postlink"><strong class="text-strong">this thread</strong></a>.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Sat Apr 15, 2006 1:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CuteBangla]]></name></author>
		<updated>2006-04-15T01:55:20-04:00</updated>

		<published>2006-04-15T01:28:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61938#p61938</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61938#p61938"/>
		<title type="html"><![CDATA[need a script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61938#p61938"><![CDATA[
i need a script what can make a live index page that will show all public msg fron a channel &amp; it will update that html page in evry 1 min that can help me out to see all the public msg of a channel live ...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7425">CuteBangla</a> — Sat Apr 15, 2006 1:28 am</p><hr />
]]></content>
	</entry>
	</feed>
