The getName native AI script function retrieves the name of a group.
(name: s)getName()
The function returns the name of the group as a string.
($groupName)getName();
This example code retrieves the name of the current group and stores it in a string variable.