<RetVer> = Returns the version number for the currently running script.
Example:
$script.ver = get script version
$script.ver will be the script version as entered by the script writer displayed near the script arguments.
This can be useful for setup scripts as it can then be saved to a global variable and used on subsequent game loads to see if a script has been updated and appropriate action taken. Perhaps a one time options menu needs to be displayed to set newly added options. Or, a message to the player telling them of the new or removed features.
Command Location:
- »» General Commands
<RetVer> = get script version