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

	<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-11-24T14:07:20-04:00</updated>

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

		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2003-11-24T14:07:20-04:00</updated>

		<published>2003-11-24T14:07:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30633#p30633</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30633#p30633"/>
		<title type="html"><![CDATA[Re: Problem with reading out Nubers of users.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30633#p30633"><![CDATA[
<blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>if { ([llength [chanlist $qchan]]&lt;5) &amp;&amp; ([isop $quser $qchan]=0) }</code></pre></div></div></blockquote>Are you sure of what you want?<br>I'll better use:<div class="codebox"><p>Code: </p><pre><code>if {([llength [chanlist $qchan]]&gt;=5) &amp;&amp; [isop $quser $chan]} {</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Mon Nov 24, 2003 2:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-11-24T13:44:43-04:00</updated>

		<published>2003-11-24T13:44:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30626#p30626</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30626#p30626"/>
		<title type="html"><![CDATA[Problem with reading out Numbers of users.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30626#p30626"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub - !Q Q:targetproc Q:target {nick uhost hand chan arg} {set qchan "[lindex [lindex $arg 0] 0]"set quser "[lrange [split $arg] 1 end]" if { ([llength [chanlist $qchan]]&lt;5) &amp;&amp; ([isop $quser $qchan]=0) } then {        putserv "PRIVMSG #request :$qchan hat weniger als 5 User oder $quser hast kein Op. Request abgelehnt! "        return 0        }putserv "PRIVMSG Q :addchan $qchan nt #$quser clan"putserv "PRIVMSG #request :Adde $qchan mit Owner $quser zur Datenbank"}</code></pre></div>That's what the script <strong class="text-strong">should</strong> do: Adding the Q Bot to a Channel if a User on #request types '!Q #chan Nick', but only if at least 5 Users are on the Channel and the User has Op on it.<br><br>That's what the script actually does: It adds Q, neither depending on wether the Channel has more than 5 Users nor the User is op.<br><br>Any suggestions? <br>Thx in advance..<br>DeLiRiUm<p>Statistics: Posted by Guest — Mon Nov 24, 2003 1:44 pm</p><hr />
]]></content>
	</entry>
	</feed>
