mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
Two new scripting functions osInviteToGroup(userID) and osEjectFromGroup(userID) that invite/eject users to/from groups the object containing the script is set to. These functions also work for closed groups.
This commit is contained in:
@@ -868,5 +868,15 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||
{
|
||||
return m_OSSL_Functions.osGetInventoryDesc(item);
|
||||
}
|
||||
|
||||
public LSL_Integer osInviteToGroup(LSL_Key agentId)
|
||||
{
|
||||
return m_OSSL_Functions.osInviteToGroup(agentId);
|
||||
}
|
||||
|
||||
public LSL_Integer osEjectFromGroup(LSL_Key agentId)
|
||||
{
|
||||
return m_OSSL_Functions.osEjectFromGroup(agentId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user