Change font size
It is currently Sat Nov 17, 2018 11:57 am

Forum rules


{L_IMAGE}



Post a new topicPost a reply Page 1 of 1   [ 1 post ]
Author Message
 Post subject: Improvement for OsInviteToGroup function
PostPosted: Mon Jun 23, 2014 5:40 am 

Joined: Wed May 28, 2014 9:31 am
Posts: 2
Hello :)

I have discovered very neat OSSL script function: OsInviteToGroup.

There is available certain information: http://opensimulator.org/wiki/OsInviteToGroup

Syntax of this function is: integer osInviteToGroup(key user)

When object's owner has appriprate permissions of invitation to the group, then object sends invtation to this group, even if it is closed. then integer's value = 1, if not then integer's value = 0

I have figured it out, that server checks if resident belongs to the group after triggering this function.
That means, if resident belongs to the group then object does not send invitaiton even if invitation could be sent if resident would not belong to the group.

I suggest to add integer's value = 2, for the case: Object may send invitation to the group ( object's owner has appriorpate permissions in the group ), but resident has belonged to the group.

So in this case, we would get useful information: Resident belongs to the group and we do not need to send invitation.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 1   [ 1 post ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
610nm Style by Daniel St. Jules of Gamexe.net