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

	<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-02-14T18:06:38-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Dw2k]]></name></author>
		<updated>2004-02-14T18:06:38-04:00</updated>

		<published>2004-02-14T18:06:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33602#p33602</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33602#p33602"/>
		<title type="html"><![CDATA[breaking out of a switch and running more code]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33602#p33602"><![CDATA[
Hmm, thats what I assumed at the start.<br><br>I must have something else wrong in my code, i'll have another look.<br><br>Thanks <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>EDIT: Yes, my fault. I was rehashing the bots each time, a restart made them recognise the new code. Strange one that.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2329">Dw2k</a> — Sat Feb 14, 2004 6:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-02-14T17:58:08-04:00</updated>

		<published>2004-02-14T17:58:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33601#p33601</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33601#p33601"/>
		<title type="html"><![CDATA[breaking out of a switch and running more code]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33601#p33601"><![CDATA[
You don't break out of a switch statement.. it's not a loop.... you just do your branches, and then outside of the switch clause, you add your code. Simple as that.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Sat Feb 14, 2004 5:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Dw2k]]></name></author>
		<updated>2004-02-14T17:05:05-04:00</updated>

		<published>2004-02-14T17:05:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33600#p33600</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33600#p33600"/>
		<title type="html"><![CDATA[breaking out of a switch and running more code]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33600#p33600"><![CDATA[
Im trying to figure out how to come out of a switch and run more code, e.g.<br><div class="codebox"><p>Code: </p><pre><code>proc {lalala} {set up argsdo somecode hereswitch $something { "somearg" {        dosomecode        return / break } "someotherarg" {        dosomeothercode        return / break  } }do more code here (outside of switch)}</code></pre></div>I have tried using return and break, to no avail. Can anyone point me to the right direction? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2329">Dw2k</a> — Sat Feb 14, 2004 5:05 pm</p><hr />
]]></content>
	</entry>
	</feed>
