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

	<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-25T17:09:41-04:00</updated>

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

		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-11-25T17:09:41-04:00</updated>

		<published>2003-11-25T17:09:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30704#p30704</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30704#p30704"/>
		<title type="html"><![CDATA[where is wrong in code?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30704#p30704"><![CDATA[
move the <em class="text-italics">if {$ops &lt; 2} {  putserv "MODE $chan +m" }</em> outside of the foreach loop.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Tue Nov 25, 2003 5:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[xGame]]></name></author>
		<updated>2003-11-25T16:15:02-04:00</updated>

		<published>2003-11-25T16:15:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30702#p30702</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30702#p30702"/>
		<title type="html"><![CDATA[where is wrong in code?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30702#p30702"><![CDATA[
<strong class="text-strong"> i want bot check every 5 mins if ops in channel less 2 ops then lock mode channel +m , now this script lock channel every 5 mins and not care about ops count  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"> <br>where is wrong in code ?<br></strong><div class="codebox"><p>Code: </p><pre><code># Set how long that bot must check mode and lockmode back again.set timeschks 5set chan "#channel"### Start Call Commandtimer $timeschks opschkproc opschk {} {global timeschks chanset ops 0foreach nick [chanlist $chan] {    if {[isop $nick $chan]} {incr ops}    if {$ops &lt; 2} {  putserv "MODE $chan +m" }}timer $timeschks opschk}putlog "Loaded Successfuly..opscheck"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3620">xGame</a> — Tue Nov 25, 2003 4:15 pm</p><hr />
]]></content>
	</entry>
	</feed>
