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

	<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>2004-12-27T10:49:51-04:00</updated>

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

		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2004-12-27T10:49:51-04:00</updated>

		<published>2004-12-27T10:49:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44574#p44574</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44574#p44574"/>
		<title type="html"><![CDATA[Making the bot return all users]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44574#p44574"><![CDATA[
Actualy it should be "shouldnt" not "should" .. damn typo <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> Yah, something like that..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Mon Dec 27, 2004 10:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-12-27T10:46:58-04:00</updated>

		<published>2004-12-27T10:46:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44573#p44573</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44573#p44573"/>
		<title type="html"><![CDATA[Making the bot return all users]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44573#p44573"><![CDATA[
you mean enclosing it in double quotes? yes, it's necessary... otherwise you get syntax error "unexpected operator *"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Mon Dec 27, 2004 10:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2004-12-27T10:39:05-04:00</updated>

		<published>2004-12-27T10:39:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44572#p44572</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44572#p44572"/>
		<title type="html"><![CDATA[Making the bot return all users]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44572#p44572"><![CDATA[
Should you escape the * thing like "\*" ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Mon Dec 27, 2004 10:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-12-27T10:13:03-04:00</updated>

		<published>2004-12-27T10:13:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44568#p44568</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44568#p44568"/>
		<title type="html"><![CDATA[Making the bot return all users]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44568#p44568"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set ul {}foreach c [channels] {  foreach n [chanlist $c] {    if {[nick2hand $n $c] != "*" &amp;&amp; [lsearch -exact $ul $n] == -1} {      lappend ul $n    }  }}puthelp "notice $nick :auth'ed users: [llength $ul]"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Mon Dec 27, 2004 10:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2004-12-27T06:05:04-04:00</updated>

		<published>2004-12-27T06:05:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44560#p44560</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44560#p44560"/>
		<title type="html"><![CDATA[Making the bot return all users]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44560#p44560"><![CDATA[
Thanks figured it out, now the next problem i'm having is this<br><br><br><div class="codebox"><p>Code: </p><pre><code>set users 0 ; foreach channel [channels] { foreach nick [chanlist $channel] { if {[nick2hand $nick] != "*"} { incr users } } }putquick "NOTICE $nickname :Currently AUTH'ed Users: $users"</code></pre></div>This code counts every person that's authed at that moment but the problem is that it also counts the same handle again and i have no clue how to take that out <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Mon Dec 27, 2004 6:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2004-12-27T05:14:31-04:00</updated>

		<published>2004-12-27T05:14:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44558#p44558</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44558#p44558"/>
		<title type="html"><![CDATA[Making the bot return all users]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44558#p44558"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set count 0foreach channel [channels] {  incr count [llength [chanlist $channel]]}# then use $count</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Mon Dec 27, 2004 5:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2004-12-27T04:52:02-04:00</updated>

		<published>2004-12-27T04:52:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44557#p44557</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44557#p44557"/>
		<title type="html"><![CDATA[Making the bot return all users]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44557#p44557"><![CDATA[
I've been going at this for awhile but i can't seem to figure to figure out how to do it<br><br>What i came up with<br><div class="codebox"><p>Code: </p><pre><code>foreach channel [channels] { set user [llength [chanlist $channel]] }</code></pre></div>This would return all the users for the channels, but i can't seem to figure out how to make the bot add it all up to one number, for example 203<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Mon Dec 27, 2004 4:52 am</p><hr />
]]></content>
	</entry>
	</feed>
