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

	<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-08-17T07:35:52-04:00</updated>

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

		<entry>
		<author><name><![CDATA[netux]]></name></author>
		<updated>2004-08-17T07:35:52-04:00</updated>

		<published>2004-08-17T07:35:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39864#p39864</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39864#p39864"/>
		<title type="html"><![CDATA[error: &quot;extra switch pattern with no body&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39864#p39864"><![CDATA[
tks papillon, i remove the comment inside switch and worked fine.<br>tks for your answer.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5272">netux</a> — Tue Aug 17, 2004 7:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2004-08-17T03:27:14-04:00</updated>

		<published>2004-08-17T03:27:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39860#p39860</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39860#p39860"/>
		<title type="html"><![CDATA[error: &quot;extra switch pattern with no body&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39860#p39860"><![CDATA[
nested switches works<br>error: "extra switch pattern with no body" &lt;- this error usually appears when you have a comment inside your switch<div class="codebox"><p>Code: </p><pre><code>#this worksswitch  -- $s {  {a} {      ....bla     #comment  }}#...while this will give you the errorswitch  -- $s {  #comment  {a} {      ....bla  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Tue Aug 17, 2004 3:27 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-08-16T21:55:28-04:00</updated>

		<published>2004-08-16T21:55:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39857#p39857</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39857#p39857"/>
		<title type="html"><![CDATA[error: &quot;extra switch pattern with no body&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39857#p39857"><![CDATA[
You mean nested switches?<br>Hmm... I am not sure  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"> <br><br>The only way to find out is to give it a test, I guess.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"><br>Although I think it should work, as all types of loops can be nested as well!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Mon Aug 16, 2004 9:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[netux]]></name></author>
		<updated>2004-08-16T20:55:15-04:00</updated>

		<published>2004-08-16T20:55:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39854#p39854</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39854#p39854"/>
		<title type="html"><![CDATA[error: &quot;extra switch pattern with no body&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39854#p39854"><![CDATA[
Hi ppl, search here in forum and over the net for the solution of my problem without sucess :/<br>here´s an example of the code i have:<div class="codebox"><p>Code: </p><pre><code>switch -- $s {    "a" {      switch -- $s1 {        "a1" {....}        "a2" {....}      }    }    "b" {      switch -- $s1 {        "b1" {....}        "b2" {....}      }    }}</code></pre></div>is it possible to have a switch inside a switch?<br>if not is there another way to do it?<br>tks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5272">netux</a> — Mon Aug 16, 2004 8:55 pm</p><hr />
]]></content>
	</entry>
	</feed>
