<?xml version="1.0" encoding="utf-8"?>
<s1 title="WarTownPolicy"><table><strong class="highlight"><![CDATA[]]></strong><tr><td><strong class="highlight"><![CDATA[]]></strong><p>Usage:</p>
</td><td><strong class="highlight"><![CDATA[]]></strong><p>wartownpolicy start_time end_time [start_time end_time start_time end_time]</p>
</td></tr><tr><td><strong class="highlight"><![CDATA[]]></strong><p>Example:</p>
</td><td><strong class="highlight"><![CDATA[]]></strong><p>wartownpolicy 06:00 12:00 </p>
</td></tr></table><p>This policy will tell the bot to cease attacks on npcs, valleys, etc., and keep all resource and troop transport missions home in preparation of war at a set schedule. In the example above, the bot would halt all farming attacks and troop/resource transport missions from 6 to 12, and perform as normal the rest of the time. You can add multiple start and end times to this policy, e.g., wartownpolicy 06:00 12:00 5:00 23:00. This policy may be wise to use in conjunction with <jump href="/wiki/SchedulePolicy">SchedulePolicy</jump> so that you can ensure your farm runs are completed and home (and therefore troops healed) before the bot shuts down at a set schedule. </p>
<p>Note: This policy has no effect unless <jump href="/wiki/WarTown">config wartown:1 or config wartown:2</jump> is set. </p>

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