Difference between revisions of "LlInviteToGroup"

From Second Life Wiki
Jump to navigation Jump to search
Line 5: Line 5:
|func=llInviteToGroup
|func=llInviteToGroup
|p1_type=key|p1_name=avatar
|p1_type=key|p1_name=avatar
|p2_type=string|p2_name=roll|p2_desc=Roll name '''avatar''' is to have.
|sort
|sort
|func_desc=Adds '''avatar''' to the group the object is deeded to.
|func_desc=Adds '''avatar''' to the group the object is deeded to.

Revision as of 20:49, 16 April 2007

Emblem-important-yellow.png LSL Feature Request
The described function does not exist. This article is a feature request.

Summary

Function: llInviteToGroup( key avatar, string roll );

Adds avatar to the group the object is deeded to.

• key avatar
• string roll Roll name avatar is to have.

To run this function the script must request the PERMISSION_GROUP_INVITE permission with llRequestPermissions and it must be granted by a group officer.

Specification

We need some way to invite an avatar to join the owners group if he has the right to invite members and has given the script permission to act as his delegate.

llInviteToGroup(key group, key avatar)

or

llInviteToGroup(key avatar)

would be great.

We basically need to be able to perform group administration tasks if the script owner is in the group and has the right to perform these tasks.

Depending on if the script has a ('active') group if it's not group-owned we might or might not need another function: list llGetOwnerGroups()

Caveats

Permissions
All Issues ~ Search JIRA for related Bugs

Examples

See Also

Events

•  run_time_permissions Permission receiving event

Functions

•  llGetPermissions Get the permissions granted
•  llGetPermissionsKey Get the agent who granted permissions
•  llRequestPermissions Request permissions

Articles

•  Script permissions

Deep Notes

Search JIRA for related Issues

Signature

//function void llInviteToGroup( key avatar, string roll );