Bot Information
The following functions allow you to gather information on the current bot you're using.
Functions
Function |
Description |
|
|
|
Returns the bots version number. |
||||
Returns the bots build date. |
||||
Returns the name of the running bot version. |
BuildVersion
Usage: echo BuildVersion
Returns the bots version number.
Example:
@BuildVersion = "" // this line prevents error outputs due to older bot versions. @ is added to silent the error output on newer bots.
if BuildVersion < "3167" echo "This script requires version 3167 or later" // note, "die" command may not be available on old bots.
if BuildVersion < "3167" end
Result:
- This script requires version 3167 or later
- Script stopped.
BuildDate
Usage: echo BuildDate
Returns the bots build date.
Example:
echo BuildDate
Result:
- July 13, 2015
BuildName
Usage: echo BuildName
Returns the bots build name.
Example:
echo BuildName
Result:
- NEATBOT Version 07-13-2015.3328NZ