<?xml version="1.0" encoding="utf-8"?><!DOCTYPE article  PUBLIC '-//OASIS//DTD DocBook XML V4.4//EN'  'http://www.docbook.org/xml/4.4/docbookx.dtd'><article><articleinfo><title>GuardedAttack</title><revhistory><revision><revnumber>2</revnumber><date>2012-10-21 04:34:52</date><authorinitials>Inanna</authorinitials></revision><revision><revnumber>1</revnumber><date>2012-09-24 19:01:50</date><authorinitials>Inanna</authorinitials></revision></revhistory></articleinfo><informaltable><tgroup cols="2"><colspec colname="col_0"/><colspec colname="col_1"/><tbody><row rowsep="1"><entry colsep="1" rowsep="1"><para>Usage:</para></entry><entry colsep="1" rowsep="1"><para>guardedattack xxx,yyy troop num_scouts opponent_troop opponent_defenses</para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para>Example:</para></entry><entry colsep="1" rowsep="1"><para>guardedattack 111,222 a:99600,w:100,s:100,p:100,sw:100 10 a:60000,cav:50000 at:19000</para><para>guardedattack 111,222 cav:99000,s:1000 10 a:500000 ab:1</para></entry></row></tbody></tgroup></informaltable><para>Used to set up a scout and an attack and recall the attack based on the result of the scout. </para><para>In the first example, the bot will schedule a scout with 10 scouts and an attack on 111,222 with 99600 archers so that the scouts arrive a random time between 15-30 seconds before the archers. If the scout fails, the attack is recalled. If the scout is successful but there are 60k+ archers OR 50k+ cavalry at the target, the attack is also recalled. </para><para>In the second example, the bot will schedule a scout with 10 scouts and an attack on 111,222 with 99000 cavalry so that the scouts arrive a random time between 15-30 seconds before the horses. If the scout fails, the attack is recalled. If the scout is successful but there are 500k+ archers OR =&gt; 1 abatis at the target, the attack is also recalled. </para><para>To cancel guardedattack, use <ulink url="http://guide.neatportal.com/wiki/GuardedAttack/wiki/EndGuardedAttack#">EndGuardedAttack</ulink>. </para><!--rule (<hr>) is not applicable to DocBook--><para> <ulink url="http://guide.neatportal.com/wiki/GuardedAttack/wiki/CategoryDeployment#">CategoryDeployment</ulink> </para></article>