Group Commands
Commands controlling the avatar's active group tag.
@setgroup
@setgroup:<group_name>=force
Version: v2.5 (RLVa 1.4+ also supports :<group_uuid>)
Forces the agent to change its active group to the specified one. The avatar must already be a member of the group.
| Parameter | Type | Description |
|---|---|---|
group_name |
string | Name of the group to activate (e.g. "Mistresses") |
group_uuid |
key | UUID of the group (RLVa 1.4+ only) |
"none" |
string | Deactivates the current group entirely — no group tag shown |
Examples:
@setgroup:Mistresses=force
@setgroup:501987d1-de7d-8c4f-b232-48c53d69c084=force
@setgroup:none=force
@setgroup (restriction)
@setgroup=<y/n>
Version: v2.5
When prevented, the user is unable to change the active group through the UI.
@getgroup
@getgroup=<channel_number>
Version: v2.5
Makes the viewer reply with the name of the currently active group on the specified channel. Returns "none" if no group is active.
Note
There is no way to obtain the UUID of the group, only the name.
Example:
// Request active group name on channel 99
llOwnerSay("@getgroup=99");
// Listen for the response
llListen(99, "", NULL_KEY, "");
// In listen event: message will be "Mistresses" or "none"
See also: Clothing & Attachments | Viewer Control