14.12.2022, 08:10
Use grp.find to check if an object with a given name already exists:
Code:
name = 'test object'
if not grp.find(name) then
grp.create({ name = name, ... })
end