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

	<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>2003-07-28T18:53:54-04:00</updated>

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

		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2003-07-28T18:53:54-04:00</updated>

		<published>2003-07-28T18:53:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24134#p24134</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24134#p24134"/>
		<title type="html"><![CDATA[Join -&gt; Count users -&gt; Part]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24134#p24134"><![CDATA[
channel add $localchannel<br>set chanlist [llength [chanlist $localchannel]] <br><br>That's your problem - you add the channel but don't give the bot time before he joins it. Break your proc into several smaller ones, and use binds or timers to add a delay.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Mon Jul 28, 2003 6:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-07-28T17:15:06-04:00</updated>

		<published>2003-07-28T17:15:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24128#p24128</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24128#p24128"/>
		<title type="html"><![CDATA[Join -&gt; Count users -&gt; Part]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24128#p24128"><![CDATA[
how are you calling the proc and where do you want the output?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Mon Jul 28, 2003 5:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[minotaur]]></name></author>
		<updated>2003-07-28T16:04:54-04:00</updated>

		<published>2003-07-28T16:04:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24125#p24125</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24125#p24125"/>
		<title type="html"><![CDATA[Join -&gt; Count users -&gt; Part]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24125#p24125"><![CDATA[
My problem is if i use something like that:<br><br>proc scan:chan { nick idx handle chan lochan } { <br>set lochan [split $lochan] <br>set localchannel [lindex $lochan 0]<br>channel add $localchannel<br>set chanlist [llength [chanlist $localchannel]]<br>if { $chanlist &gt; "20" } {<br>putlog "Channel accepted $localchannel"<br>} else {<br>putlog "Channel not accepted"<br>}<br>channel remove $localchannel<br>}<br><br>But now he joins and party but always says Channel not accepted. I think he cant count because he check it before he is joined <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad">. how to do this?<br><br>than he says<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3458">minotaur</a> — Mon Jul 28, 2003 4:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[]Kami[]]></name></author>
		<updated>2003-07-28T16:01:57-04:00</updated>

		<published>2003-07-28T16:01:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24124#p24124</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24124#p24124"/>
		<title type="html"><![CDATA[Join -&gt; Count users -&gt; Part]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24124#p24124"><![CDATA[
<blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>  set counter 0  set l1 [chanlist $chan]   foreach u $l1 {      incr counter  } </code></pre></div>you can combine it with an [isvoice $u $chan] and so on to check how many ops are in there, etc...<br>that code should help you out, else i can make a full script for you tomorrow...i'm falling asleep allready<br><br>@]Kami[ : state usefull answers or just be silent...i dont think "you need a script" is a usefull answer if he asks for such a script</div></blockquote>Man you are stil joker <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"> , ok next time i will give ful anwser, you you will be quiet <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3559">]Kami[</a> — Mon Jul 28, 2003 4:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2003-07-28T15:41:53-04:00</updated>

		<published>2003-07-28T15:41:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24123#p24123</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24123#p24123"/>
		<title type="html"><![CDATA[Join -&gt; Count users -&gt; Part]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24123#p24123"><![CDATA[
just a simple<div class="codebox"><p>Code: </p><pre><code>set count [llength [chanlist $chan]]</code></pre></div>will do the trick<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Mon Jul 28, 2003 3:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[GodOfSuicide]]></name></author>
		<updated>2003-07-28T15:43:10-04:00</updated>

		<published>2003-07-28T15:36:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24122#p24122</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24122#p24122"/>
		<title type="html"><![CDATA[Join -&gt; Count users -&gt; Part]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24122#p24122"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>  set counter 0  set l1 [chanlist $chan]   foreach u $l1 {      incr counter  } </code></pre></div>you can combine it with an [isvoice $u $chan] and so on to check how many ops are in there, etc...<br>that code should help you out, else i can make a full script for you tomorrow...i'm falling asleep allready<br><br>@]Kami[ : state usefull answers or just be silent...i dont think "you need a script" is a usefull answer if he asks for such a script<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1433">GodOfSuicide</a> — Mon Jul 28, 2003 3:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[]Kami[]]></name></author>
		<updated>2003-07-28T15:34:48-04:00</updated>

		<published>2003-07-28T15:34:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24121#p24121</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24121#p24121"/>
		<title type="html"><![CDATA[Join -&gt; Count users -&gt; Part]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24121#p24121"><![CDATA[
You need some script.Script will join a channel count users and part, how to make script or if anybody have scripte like this <br><br> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3559">]Kami[</a> — Mon Jul 28, 2003 3:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[minotaur]]></name></author>
		<updated>2003-07-28T15:32:26-04:00</updated>

		<published>2003-07-28T15:32:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24120#p24120</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24120#p24120"/>
		<title type="html"><![CDATA[Join -&gt; Count users -&gt; Part]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24120#p24120"><![CDATA[
Hi,<br><br>how can i say my bot to join a channel and count alle the people there (how many people in the channel) and then part <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"> the rest i know but not how to count a channel where the bot already is.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3458">minotaur</a> — Mon Jul 28, 2003 3:32 pm</p><hr />
]]></content>
	</entry>
	</feed>
