<?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>BotInformation</title><revhistory><revision><revnumber>1</revnumber><date>2015-08-09 21:39:49</date><authorinitials>LKD70</authorinitials></revision></revhistory></articleinfo><section><title>Bot Information</title><para>The following functions allow you to gather information on the current bot you're using. </para><para><emphasis role="strong">Functions</emphasis> </para><informaltable><tgroup cols="5"><colspec colname="col_0"/><colspec colname="col_1"/><colspec colname="col_2"/><colspec colname="col_3"/><colspec colname="col_4"/><tbody><row rowsep="1"><entry colsep="1" rowsep="1"><para><emphasis role="strong">Function </emphasis> </para></entry><entry colsep="1" rowsep="1"><para><emphasis role="strong">Description </emphasis> </para></entry><entry align="center" colsep="1" nameend="col_3" namest="col_2" rowsep="1"/><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" rowsep="1"><para><link linkend="BuildVersion">BuildVersion</link> </para></entry><entry colsep="1" rowsep="1"><para>Returns the bots version number. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para><link linkend="BuildDate">BuildDate</link> </para></entry><entry colsep="1" rowsep="1"><para>Returns the bots build date. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para><link linkend="BuildName">BuildName</link> </para></entry><entry colsep="1" rowsep="1"><para>Returns the name of the running bot version. </para></entry></row></tbody></tgroup></informaltable></section><section><title>BuildVersion</title><para><emphasis role="strong">Usage:</emphasis> echo BuildVersion </para><para>Returns the bots version number. </para><para><emphasis role="strong">Example:</emphasis> </para><itemizedlist><listitem override="none"><para>@BuildVersion = &quot;&quot;                // this line prevents error outputs due to older bot versions. @ is added to silent the error output on newer bots. </para></listitem><listitem override="none"><para>if BuildVersion &lt; &quot;3167&quot; echo &quot;This script requires version 3167 or later&quot;   // note, &quot;die&quot; command may not be available on old bots. </para></listitem><listitem override="none"><para>if BuildVersion &lt; &quot;3167&quot; end </para></listitem></itemizedlist><para><emphasis role="strong">Result:</emphasis> </para><itemizedlist><listitem override="none"><para>This script requires version 3167 or later </para></listitem><listitem override="none"><para>Script stopped. </para></listitem></itemizedlist></section><section><title>BuildDate</title><para><emphasis role="strong">Usage:</emphasis> echo BuildDate </para><para>Returns the bots build date. </para><para><emphasis role="strong">Example:</emphasis> </para><itemizedlist><listitem override="none"><para>echo BuildDate </para></listitem></itemizedlist><para><emphasis role="strong">Result:</emphasis> </para><itemizedlist><listitem override="none"><para>July 13, 2015 </para></listitem></itemizedlist></section><section><title>BuildName</title><para><emphasis role="strong">Usage:</emphasis> echo BuildName </para><para>Returns the bots build name. </para><para><emphasis role="strong">Example:</emphasis> </para><itemizedlist><listitem override="none"><para>echo BuildName </para></listitem></itemizedlist><para><emphasis role="strong">Result:</emphasis> </para><itemizedlist><listitem override="none"><para>NEATBOT Version 07-13-2015.3328NZ </para></listitem></itemizedlist><!--rule (<hr>) is not applicable to DocBook--><para> <ulink url="http://guide.neatportal.com/wiki/BotInformation/wiki/CategoryFunctions#">CategoryFunctions</ulink> </para></section></article>