<?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>Gate</title><revhistory><revision><revnumber>9</revnumber><date>2014-06-09 17:37:03</date><authorinitials>Inanna</authorinitials></revision><revision><revnumber>8</revnumber><date>2014-06-09 17:36:45</date><authorinitials>Inanna</authorinitials></revision><revision><revnumber>7</revnumber><date>2014-06-09 17:36:12</date><authorinitials>Inanna</authorinitials></revision><revision><revnumber>6</revnumber><date>2013-05-30 14:29:19</date><authorinitials>Inanna</authorinitials></revision><revision><revnumber>5</revnumber><date>2013-05-30 14:22:24</date><authorinitials>Inanna</authorinitials></revision><revision><revnumber>4</revnumber><date>2012-09-21 22:55:12</date><authorinitials>Inanna</authorinitials></revision><revision><revnumber>3</revnumber><date>2012-09-15 22:31:07</date><authorinitials>Susannah</authorinitials></revision><revision><revnumber>2</revnumber><date>2012-08-26 02:00:59</date><authorinitials>Inanna</authorinitials></revision><revision><revnumber>1</revnumber><date>2012-08-26 02:00:45</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>config gate:[minutes]</para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para>Example:</para></entry><entry colsep="1" rowsep="1"><para>config gate:1</para><para>config gate:0.1 </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para>Default:</para></entry><entry colsep="1" rowsep="1"><para>config gate:0 </para></entry></row></tbody></tgroup></informaltable><para>With this option activated the bot will open and close the gates depending on the type of attack waves approaching the city. Town defense is quite complex; the bot can defend your city when it is strong, weak, or extremely weak. In general, if you have 300,000 archers the bot will allow scout bombs to hit; below 100,000 archers, the bot will close the gate when attacked but will open the gate to deal with small loyalty attacks. When used along with <ulink url="http://guide.neatportal.com/wiki/Gate/wiki/GatePolicy#">GatePolicy</ulink>, you can instruct the bot what types of attacks to open for, and what to close for. </para><para>In the 1st example above, the bot would open or close gates 1 minute before an incoming attack. In the 2nd example, the bot would open or close gates 0.1 minute, or 6 seconds, before an incoming attack. </para><para>Note that the bot will automatically take into account the &quot;Server time difference&quot; shown at login. This is the time difference between your computer's clock and evony's clock.  </para><!--rule (<hr>) is not applicable to DocBook--><para> <ulink url="http://guide.neatportal.com/wiki/Gate/wiki/CategoryAllGoals#">CategoryAllGoals</ulink> <ulink url="http://guide.neatportal.com/wiki/Gate/wiki/CategoryCombatGoals#">CategoryCombatGoals</ulink> <ulink url="http://guide.neatportal.com/wiki/Gate/wiki/CategoryConfigGoals#">CategoryConfigGoals</ulink> </para></article>