<?xml version="1.0" encoding="utf-8"?>
<s1 title="KeepCapturedHeroes"><table><strong class="highlight"><![CDATA[]]></strong><tr><td><strong class="highlight"><![CDATA[]]></strong><p>Usage:</p>
</td><td><strong class="highlight"><![CDATA[]]></strong><p>keepcapturedheroes hero-string</p>
</td></tr><tr><td><strong class="highlight"><![CDATA[]]></strong><p>Example:</p>
</td><td><strong class="highlight"><![CDATA[]]></strong><p>keepcapturedheroes any:level&gt;=200<br/>
keepcapturedheroes any:base&gt;79|any:level&gt;=150,base&gt;69|any:level&gt;=200 </p>
</td></tr><tr><td><strong class="highlight"><![CDATA[]]></strong><p>Default:</p>
</td><td><strong class="highlight"><![CDATA[]]></strong><p>keepcapturedheroes any:level&gt;=200|any:base&gt;69 </p>
</td></tr></table><p>This directive will tell the bot not to automatically fire any captured hero specified in the hero string.  </p>
<p>In the second example above, the bot will keep all captured heroes that are level 100 or higher with a base greater than 79, or are level 150 or higher with a base greater than 69, or are level 200 or higher regardless of base. </p>
<p>When running this command from the script window instead of as a goal, you can use the /reset switch to clear all keepcapturedheroes in memory, either from scripts or goals. For example: keepcapturedheroes /reset. Note that clearing via script will only last until the bot is restarted, unless the script is ran each restart, or the goals are cleared as well. </p>
<p>For more information about what hero strings can be used with this goal, check out <jump href="/wiki/HeroString">HeroString</jump>. </p>
<p></p>

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