Available since Version 1.22.
Returns the title of the specified mod or the current mod if none is specified.
Syntax
GetModTitle( [mod_name] )Arguments
- mod_name (string): The name of the mod whose title you'd like to get.
- Optional, defaults to the mod that called the function.
Return Values
- (string | nil): The title of the mod or
nilif it is not loaded.
Examples
local CurrentModTitle = GetModTitle()
print(CurrentModTitle .. " loaded!")