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

	<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-13T17:23:04-04:00</updated>

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

		<entry>
		<author><name><![CDATA[shag]]></name></author>
		<updated>2006-07-13T17:23:04-04:00</updated>

		<published>2006-07-13T17:23:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64632#p64632</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64632#p64632"/>
		<title type="html"><![CDATA[Possible to count 2 things with one trigger?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64632#p64632"><![CDATA[
Wow man thanks I was trying to use set i 0 again and like change it to a different letter.  Thanks for the help works great apreciate it greatly!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7972">shag</a> — Thu Jul 13, 2006 5:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[avilon]]></name></author>
		<updated>2006-07-13T17:08:10-04:00</updated>

		<published>2006-07-13T17:08:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64630#p64630</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64630#p64630"/>
		<title type="html"><![CDATA[Possible to count 2 things with one trigger?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64630#p64630"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub - !stats voicedproc voiced {nick uhost hand chan arg} {set i 0set cname #chanforeach n [chanlist $cname] {if { [isvoice $n $cname] } { incr i }}set fname "path/to/file.txt"set fs [open $fname r]set data [read $fs]close $fsset lines [split $data \n]set length [llength $lines]puthelp "PRIVMSG $chan :There are currently $i voices online and $length lines in ${fname}!"return}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5191">avilon</a> — Thu Jul 13, 2006 5:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[shag]]></name></author>
		<updated>2006-07-13T15:11:05-04:00</updated>

		<published>2006-07-13T15:11:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64629#p64629</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64629#p64629"/>
		<title type="html"><![CDATA[Possible to count 2 things with one trigger?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64629#p64629"><![CDATA[
I'm currently trying to make a script that will count the voiced users in a specific chan, and also count the lines of a vertain file, and then display them both in one line like<br><br>There are x users and there are x lines in the file.<br><br>Thats just a short rundown, this is what I have so far.<br><div class="codebox"><p>Code: </p><pre><code>bind pub - !stats voicedproc voiced {nick uhost hand chan arg} { set i 0set cname #chan foreach n [chanlist $cname] {  if {[isvoice $n $cname]} { incr i } } puthelp "privmsg $chan :There are currently $i voices online!"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7972">shag</a> — Thu Jul 13, 2006 3:11 pm</p><hr />
]]></content>
	</entry>
	</feed>
