|
Aldous Writer
Registered User
Join date: 31 May 2007
Posts: 8
|
06-26-2007 02:07
Is it possible to scan the list of friends in a script and check their characteristics ?
aldous
|
|
Squirrel Wood
Nuteater. Beware!
Join date: 14 Jun 2006
Posts: 471
|
06-26-2007 02:34
Nope. Not possible.
The script will need to have its own list/notecard of UUIDs of your friends.
|
|
Aldous Writer
Registered User
Join date: 31 May 2007
Posts: 8
|
UUIDs
06-26-2007 05:47
Thank you for the answer. Is it possible not to re-type the UUIDs manually in a notecard ? Where can I get the UUID of the friends who are normally known as name/surname.
thx in advance
aldous
|
|
BamBam Rockin
Registered User
Join date: 29 May 2007
Posts: 13
|
06-26-2007 07:46
|
|
Ged Larsen
thwarted by quaternions
Join date: 4 Dec 2006
Posts: 294
|
06-26-2007 07:57
_____________________
- LoopRez, flexi prim skirt generating tool - LinkRez, a necklace chain generator
|
|
Aldous Writer
Registered User
Join date: 31 May 2007
Posts: 8
|
06-26-2007 09:48
thx for the links. I believe I can now create a notecards with the list of my friends and their key. Next step is to operate on the single name/key. In particular I am looking for a programmatic way to enable/disable the "Can see my online status" checkbox.
I assume that if it can be done using the GUI, it should also be possible do to it via a program, but I have found no function to do it.
Does anyone has an idea on how it is possible to do it ?
aldous
|
|
Darien Caldwell
Registered User
Join date: 12 Oct 2006
Posts: 3,127
|
06-26-2007 13:41
You would most likely have to write a custom client for a task like that. either using the open source client code, or LibSL. There's no way to do it from a script.
|
|
Aldous Writer
Registered User
Join date: 31 May 2007
Posts: 8
|
06-27-2007 08:11
I checked in libSL, and found that there is a method, GrantUserRights, in class FriendManager, that should do exacly what is needed. But I didn't think to write a custom client outside the official viewer; LSL is very nice and would like to stay with it. Is there a way to use the above method in a small program and invoke it from inside a script ?
thx
Aldous
|
|
Darien Caldwell
Registered User
Join date: 12 Oct 2006
Posts: 3,127
|
06-27-2007 12:35
I'm sure you could, maybe by sending a HTTP request to your computer from your script. However as I've never sat down to figure it out, I'm not sure exactly how Perhaps someone else has a suggestion?
|
|
Aldous Writer
Registered User
Join date: 31 May 2007
Posts: 8
|
06-28-2007 08:04
using http seems not very elegant and rather complex too. Does anyone know if it is possible to create a LSL buil-in function such as llGrantUserRights ?
|