<?xml version="1.0" encoding="utf-8"?>
<s1 title="Label"><table><strong class="highlight"><![CDATA[]]></strong><tr><td><strong class="highlight"><![CDATA[]]></strong><p>Usage: </p>
</td><td><strong class="highlight"><![CDATA[]]></strong><p>label name </p>
</td></tr><tr><td><strong class="highlight"><![CDATA[]]></strong><p>Example: </p>
</td><td><strong class="highlight"><![CDATA[]]></strong><p>label comfort<br/>
label upgraderax </p>
</td></tr></table><p>Creates a placeholder within the scripts that can be referenced for a loop or goto command. </p>
<ul><li><source><![CDATA[attack 360,843 any t:400,b:400
attack 344,567 any t:400,b:400
attack 400,543 any t:400,b:400
label upgrade
upgrade barrack
loop upgrade 5]]></source></li>
</ul>
<p>In the above example, loop upgrade 5 will tell the bot to perform the action within the label upgrade only. So in this case, the bot would attack the 3 npcs then upgrade a barrack 5 times. </p>
<p></p>

<br/>------------------------------------------------------------------------------<br/>
<p> </p>

<br/>------------------------------------------------------------------------------<br/>
<p> <jump href="/wiki/ScriptControlStructures">ScriptControlStructures</jump> </p>
</s1>