llSameGroup

integer llSameGroup(key id); Returns TRUE if the agent/object associated with id has the same active group (and is currently in the same simulator) as the object the script is in. If not, this function returns FALSE. Note: “group” does not refer to links...