• My Pages
  • Comments
  • Add Link
  • Subscribe
  • Subscribe User
  • Edit (GUI)
  • Edit (Text)
  • Rename Page
  • Copy Page
  • Load Page
  • Save Page
  • Delete Page
  • Attachments
  • Check Spelling
  • Diffs
  • Info
  • Revert to this revision
  • XML
  • Render as Docbook
  • Print View
  • Raw Text
  • Delete Cache
  • Like Pages
  • Local Site Map
  • Remove Spam
  • Package Pages
  • Sync Pages

    Bot Information

    The following functions allow you to gather information on the current bot you're using.

    Functions

    Function

    Description

    BuildVersion

    Returns the bots version number.

    BuildDate

    Returns the bots build date.

    BuildName

    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


    CategoryFunctions

    BotInformation (last edited 2015-08-09 21:39:49 by LKD70)