You can retrieve the version of ACSUtils used in your mod as numbers or as a string.
For example, ACSUtils 1.8.0 defines the following constants:
#define ACSUTILS_VERSION_MAJOR 1 #define ACSUTILS_VERSION_MINOR 8 #define ACSUTILS_VERSION_PATCH 0
ACSUtils also provides a simple function to get ACSUtis version as string. The reason it's not a constant is because ACC doesn't support string constants.
str ACSUtilsVersion() – returns ACSUtils version as a string, e.g. “1.8.0”.
Example:
print(s:"This mod is using ACSUtils ", s:ACSUtilsVersion()); // prints "This mod is using ACSUtils 1.8.0"