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

	<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>2007-06-02T09:53:53-04:00</updated>

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

		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-06-02T09:53:53-04:00</updated>

		<published>2007-06-02T09:53:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73214#p73214</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73214#p73214"/>
		<title type="html"><![CDATA[Help modify script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73214#p73214"><![CDATA[
Try splitting it up on multiple lines, like this.<div class="codebox"><p>Code: </p><pre><code>if {$Madlib(extended) &gt;= $Madlib(extend)} { putserv "privmsg $c :Not enough players in this round...minimum of 3 players required..ending game.." foreach t [utimers] {  if [string match *Madlib* [lindex $t 1]] {   killutimer [lindex $t end]  } }</code></pre></div> Now it's quite easy to see that you're lacking one } in the end. Add it, and your code should be fine.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sat Jun 02, 2007 9:53 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cache]]></name></author>
		<updated>2007-06-02T01:41:53-04:00</updated>

		<published>2007-06-02T01:41:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73206#p73206</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73206#p73206"/>
		<title type="html"><![CDATA[Help modify script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73206#p73206"><![CDATA[
Can anyone help me add this:<div class="codebox"><p>Code: </p><pre><code>foreach t [utimers] {if [string match *Madlib* [lindex $t 1]] { killutimer [lindex $t end] } }</code></pre></div>In to this line:<div class="codebox"><p>Code: </p><pre><code>if {$Madlib(extended) &gt;= $Madlib(extend)} { putserv "privmsg $c :Not enough players in this round...minimum of 3 players required...ending game.." ; set Madlibforthisroundflag 1 ; set nextMadlib 1 } }</code></pre></div>I try this but it crahes<div class="codebox"><p>Code: </p><pre><code>if {$Madlib(extended) &gt;= $Madlib(extend)} { putserv "privmsg $c :Not enough players in this round...minimum of 3 players required..ending game.." ; foreach t [utimers] {if [string match *Madlib* [lindex $t 1]] { killutimer [lindex $t end] }  }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7220">cache</a> — Sat Jun 02, 2007 1:41 am</p><hr />
]]></content>
	</entry>
	</feed>
