Skip to content

group

Interaction with the groups system.

Functions

int: group.add

local groupId = group.add(string: name, int: rank)

Adds a new group, returning it's id. Lower-number ranks are listed before higher-number ranks.

boolean: group.remove

group.remove(int: groupId)

Removes a group, returning whether or not it was sucessful.

string, int: group.getinfo

local groupName, groupRank = group.getinfo(int: groupId)

Returns general information about a group.