<?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>SetGuard</title><revhistory><revision><revnumber>7</revnumber><date>2013-05-09 18:10:15</date><authorinitials>Inanna</authorinitials></revision><revision><revnumber>6</revnumber><date>2013-05-09 18:08:33</date><authorinitials>Inanna</authorinitials></revision><revision><revnumber>5</revnumber><date>2013-05-09 18:08:12</date><authorinitials>Inanna</authorinitials></revision><revision><revnumber>4</revnumber><date>2013-05-09 18:07:43</date><authorinitials>Inanna</authorinitials></revision><revision><revnumber>3</revnumber><date>2013-01-08 22:19:57</date><authorinitials>jay777</authorinitials></revision><revision><revnumber>2</revnumber><date>2012-10-21 04:35:48</date><authorinitials>Inanna</authorinitials></revision><revision><revnumber>1</revnumber><date>2012-09-24 19:04:30</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>setguard xxx,yyy target_troops target_walls </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para>Example: </para></entry><entry colsep="1" rowsep="1"><para>attack 111,222 any w:100000,a:100,s:100,p:100,sw:100</para><para>scout 111,222 any s:100000</para><para>setguard 111,222 a:60000,cav:50000 ab:100 </para></entry></row></tbody></tgroup></informaltable><para>This allows you to launch an attack and have it monitored for certain troop and wall conditions, and recall if they're exceeded. **NOTE** You must have a wall condition for the SetGuard to work. </para><para>As an example of a way to monitor a npc10 to make sure it's still a npc10 and not a player: </para><screen><![CDATA[attack 111,222 bob c:99k,s:1k
scout 111,222 fred s:1
setguard 111,222 wo:1,w:400001,s:1,p:1,sw:1,a:1,c:1,cata:1,t:1,b:1,r:1,cp:1 at:5000,tre:2000]]></screen><para>This says to send your cav/scout attack at the target, then send 1 scout, then setguard on that attack with those conditions on that 3rd line. </para><para>If the 1 scout dies, the attack is recalled.</para><para> If the 1 scout fails to get a report, the attack is recalled. </para><para> If the 1 scout peeks inside the target and sees any of those amounts of troops or walls in the city, the attack is recalled. </para><para>If it has below those amounts of troops or walls, the attack is allowed to continue. </para><para>You can add a sleep or landing time in on the scout so that it'll get there a few seconds before the attack does, so that you aren't scouting too soon. </para><!--rule (<hr>) is not applicable to DocBook--><para> <ulink url="http://guide.neatportal.com/wiki/SetGuard/wiki/CategoryDeployment#">CategoryDeployment</ulink> </para></article>