GetBotVersion function

From StealthBot Wiki Backup
Jump to: navigation, search

The GetBotVersion function returns the current bot's version string.

Development

The GetBotVersion function was added in version 2.6 by request of Imhotep.

Documentation

'// GETBOTVERSION
'// Returns the current StealthBot app version as a string.
Public Function GetBotVersion() As String

    GetBotVersion = CVERSION

End Function

Summary

This function will return a string such as "StealthBot v#.#.#". It may also appear in the format "StealthBot Beta v#.# - Build #". It has historically appeared in the format "StealthBot v#.# Revision #", "StealthBot Beta v#.#", or "StealthBot Beta v#.# Development Release #".

Syntax

Version = GetBotVersion()

Examples

See also