<?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>AllianceChat</title><revhistory><revision><revnumber>2</revnumber><date>2012-12-06 18:42:11</date><authorinitials>Inanna</authorinitials></revision><revision><revnumber>1</revnumber><date>2012-12-06 18:41:21</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>alliancechat message</para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para>Example:</para></entry><entry colsep="1" rowsep="1"><para>alliancechat Hello friends! </para></entry></row></tbody></tgroup></informaltable><para>Allows you to send a message to alliance chat. Expressions do not yet work with this, but can be used along with the <ulink url="http://guide.neatportal.com/wiki/AllianceChat/wiki/Execute#">Execute</ulink> command. </para><para>An example of how to use Execute with this command as part of your defensive script could be: </para><itemizedlist><listitem override="none"><screen><![CDATA[// Alert my alliance with a message like "Help, I have 5 incoming waves to 400,123"
if (city.NumberOfRealAttacks > 0) execute "alliancechat Help, I have " + city.NumberOfRealAttacks + " incoming waves to " + city.coords]]></screen></listitem></itemizedlist><!--rule (<hr>) is not applicable to DocBook--><para> <ulink url="http://guide.neatportal.com/wiki/AllianceChat/wiki/ScriptAccount#">ScriptAccount</ulink> </para></article>