<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.herc.ws/w/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.herc.ws/w/index.php?action=history&amp;feed=atom&amp;title=Goto</id>
		<title>Goto - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.herc.ws/w/index.php?action=history&amp;feed=atom&amp;title=Goto"/>
		<link rel="alternate" type="text/html" href="https://wiki.herc.ws/w/index.php?title=Goto&amp;action=history"/>
		<updated>2026-05-01T10:21:48Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.21.11</generator>

	<entry>
		<id>https://wiki.herc.ws/w/index.php?title=Goto&amp;diff=510&amp;oldid=prev</id>
		<title>Via: Created page with &quot;== Syntax == * goto &lt;label&gt;;  == Description == This command will make the script execution jump to the specified label. It is often used by beginners in conjunction with ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.herc.ws/w/index.php?title=Goto&amp;diff=510&amp;oldid=prev"/>
				<updated>2013-06-23T00:01:42Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Syntax == * &lt;a href=&quot;/wiki/Goto&quot; title=&quot;Goto&quot;&gt;goto&lt;/a&gt; &amp;lt;label&amp;gt;;  == Description == This command will make the script execution jump to the specified label. It is often used by beginners in conjunction with ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Syntax ==&lt;br /&gt;
* [[goto]] &amp;lt;label&amp;gt;;&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
This command will make the script execution jump to the specified label. It is often used by beginners in conjunction with [[if]], before they get accustomed to other conditional statements, such as [[for]] or [[switch]]. While advanced scripters typically discourage using [[goto]], it can come handy when requiring to leave a complex nested loop without having to use flags or even more complicated code.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
 [[if]] ([[checkriding]]()) [[goto]] L_riding;&lt;br /&gt;
 	[[mes]] &amp;quot;Yay, you're not riding a Peco.&amp;quot;;&lt;br /&gt;
 	[[close]];&lt;br /&gt;
 &lt;br /&gt;
 L_riding:&lt;br /&gt;
 	[[mes]] &amp;quot;Please dismount your Peco first.&amp;quot;;&lt;br /&gt;
 	[[close]];&lt;br /&gt;
&lt;br /&gt;
[[Category:Script Command]]&lt;/div&gt;</summary>
		<author><name>Via</name></author>	</entry>

	</feed>