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

	<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>2002-08-19T06:32:47-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-19T06:32:47-04:00</updated>

		<published>2002-08-19T06:32:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=9911#p9911</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=9911#p9911"/>
		<title type="html"><![CDATA[ChannelUserStats for the homepage]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=9911#p9911"><![CDATA[
Yes I am  .... U know what I am. <br><img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> <br>I have found the files.<br>SOOOOOORRRY <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> and THANKS <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> <br>Have a nice .... day/week , whatever <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"> <br><br>--<br>SusanParker<p>Statistics: Posted by Guest — Mon Aug 19, 2002 6:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-19T03:37:07-04:00</updated>

		<published>2002-08-19T03:37:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=9908#p9908</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=9908#p9908"/>
		<title type="html"><![CDATA[ChannelUserStats for the homepage]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=9908#p9908"><![CDATA[
the lame script's lame outputfile should be [lame channel name].[lame name you specified] and is generated on lame joins/parts/quits. Kinda lame, eh? <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 Guest — Mon Aug 19, 2002 3:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-18T17:06:58-04:00</updated>

		<published>2002-08-18T17:06:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=9901#p9901</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=9901#p9901"/>
		<title type="html"><![CDATA[ChannelUserStats for the homepage]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=9901#p9901"><![CDATA[
Wow, thx for the script. <br><br>Bu I am to lame  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"> <br><br>I set the path, the filename and the Chan . <br>The script has been laoded , but the bot doesnßt create a File. <br><br>So I create a file and playes withe the Chmods. I gave it all rights<br>first 775 then 777 , no success.<br>Same with the subDirectory. <br><br>The bot says no error.<br><br>Chans are without "#"  .<p>Statistics: Posted by Guest — Sun Aug 18, 2002 5:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-18T10:59:13-04:00</updated>

		<published>2002-08-18T10:59:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=9895#p9895</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=9895#p9895"/>
		<title type="html"><![CDATA[ChannelUserStats for the homepage]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=9895#p9895"><![CDATA[
There you go!<br><div class="codebox"><p>Code: </p><pre><code># FILENAME: CHANCOUNT.TCL# VERSION:  0.8 (BETA)# DATE:     8/18/2002# AUTHOR:   Mapherick^ApL &lt;mapherick at apl-productions.org&gt;# PURPOSE:  To puts the current number of people in a predefined (list of) channel(s)# $cc_outptfile: filename to write to# $cc_outptpath: path to outputfile from your eggdrop dirset cc_outptpath ""set cc_outptfile "numusers.dat"# $cc_chanlist# List of channels to monitor (ommit #)set cc_chanlist {my_chan_1 my_chan_2 my_chan_3}bind join - * cc_joinbind part - * cc_partbind sign - * cc_signproc cc_countusers {chan} {  global cc_outptfile cc_outptpath  set cc_numusers 0  set cc_nicks [chanlist "\#$chan"]  foreach n $cc_nicks {incr cc_numusers}  set c [catch {set fd [open "$cc_outptpath$chan.$cc_outptfile" w]} reason]  if $c {    set msg "CHANCOUNT.TCL: ERROR: Error opening outpt file"    putlog $msg    catch {if [info exists fd] {close $fd}}    return 0  } else {    puts $fd $cc_numusers    catch {close $fd}  }  return 0}proc cc_join {nick uhost handle chan} {  regsub -all "\#" $chan "" chan  global cc_chanlist  if {[lsearch $cc_chanlist $chan] != -1} {cc_countusers $chan}  return 0}proc cc_part {nick uhost handle chan msg} {  regsub -all "\#" $chan "" chan  global cc_chanlist  if {[lsearch $cc_chanlist $chan] != -1} {cc_countusers $chan}  return 0}proc cc_sign {nick uhost handle chan msg} {  regsub -all "\#" $chan "" chan  global cc_chanlist  if {[lsearch $cc_chanlist $chan] != -1} {cc_countusers $chan}   return 0}</code></pre></div>Tested most of it (its not so much)<br><br>Enjoy!<p>Statistics: Posted by Guest — Sun Aug 18, 2002 10:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-18T07:29:24-04:00</updated>

		<published>2002-08-18T07:29:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=9888#p9888</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=9888#p9888"/>
		<title type="html"><![CDATA[ChannelUserStats for the homepage]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=9888#p9888"><![CDATA[
I tried it too, but there is to much nonsensen. <br>Okjay, there are licestats and so on <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> <br>But I cant see an entry how many people are in the chan. <br><br>I just need a lame number in a lame file <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"> <br>But I am not able to create it, thats lame, too <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by Guest — Sun Aug 18, 2002 7:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[GodOfSuicide]]></name></author>
		<updated>2002-08-18T06:46:06-04:00</updated>

		<published>2002-08-18T06:46:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=9885#p9885</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=9885#p9885"/>
		<title type="html"><![CDATA[ChannelUserStats for the homepage]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=9885#p9885"><![CDATA[
you can try stats.mod, it makes livestat (allway updated), and u can (if u don't like the style) parse it easy with php.<br><br>or you check out lusers.tcl from DAWG and rewrite it...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1433">GodOfSuicide</a> — Sun Aug 18, 2002 6:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-17T20:43:20-04:00</updated>

		<published>2002-08-17T20:43:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=9883#p9883</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=9883#p9883"/>
		<title type="html"><![CDATA[ChannelUserStats for the homepage]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=9883#p9883"><![CDATA[
I need a simple TCL-Script which let the eggdrop write the current USerStats of a Channel into a txt or php-File. ( with updates)<br>So that I can inlcude it on my page.  <br><br>Example: <br>#Channelblah @Operator @loser StatBot @Chephren <br>So the bot should write into a file names count.php , the <br>Number <br>"4"<br>When someone joins the Chan , the Bot should uptade the informations. <br><br>I tried to "code" a script like that, but ... no success.   <br>With mirc it´s no problem :<br>/write counter $nick($chan,0)<br><br>But I need it in TCL, couse my Bot should do this work<br><br>A lot of peole say , that this is very easy to code <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"> But noone can help me <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> That´s IRC: )<br><br>Thanks<p>Statistics: Posted by Guest — Sat Aug 17, 2002 8:43 pm</p><hr />
]]></content>
	</entry>
	</feed>
