Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Getting list of users in a group

Bern Breda
Registered User
Join date: 15 Oct 2008
Posts: 3
05-20-2009 03:30
Given a public group name, is there a way for a script to obtain the list of users in that group?

Thanks for any pointers.
Rygel Ryba
Registered User
Join date: 12 Feb 2008
Posts: 254
05-20-2009 03:34
If you are in the group, yes. If not - it depends upon how the group owner has it set up.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
05-20-2009 03:42
by itself... no.
search doesn't show group members, and there are no direct queries.

if you are a member you can cop the list and paste it in though.
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Bern Breda
Registered User
Join date: 15 Oct 2008
Posts: 3
05-20-2009 13:47
Thanks for the replies. I also found the snippet below in the wiki, but not much else. Can you shed any light on how a script could create the list of user UUIDs? Or can this be done only manually?

From: someone
5. Communications such as instant messages cannot be sent to a group per se. Instead, what you have to do is create a list of the UUIDs of the people in that group, and loop through the list sending an instant message to each person separately;
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
05-20-2009 14:53
From: Bern Breda
Thanks for the replies. I also found the snippet below in the wiki, but not much else. Can you shed any light on how a script could create the list of user UUIDs? Or can this be done only manually?

manually, for the most part...

what's that mean? well the manual part is getting the list of names. you can then feed that list of names one at a time to the same search engine that LL uses for inworld search, (or just use w-hat.com, which is still more reliable) to get the keys of all those people.

there is an off possibility you could get it via an app/request to the viewer group object, but I think it'd need some authentication, so low odds on that (but a tweaked code viwer could do it)
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Papalopulus Kobolowski
working mind
Join date: 11 Aug 2006
Posts: 326
05-20-2009 16:23
Mmmm ... you can use "if same group" .
With this you can check if some avatar is in your (object)group and do stuff
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
05-20-2009 16:32
From: Papalopulus Kobolowski
Mmmm ... you can use "if same group" .
With this you can check if some avatar is in your (object)group and do stuff


llSameGroup only checks if they have the same group active. they could still be in the group and not have it active. i haven't tested it, but i'm assuming it'll always return false if the user is offline, even if they had the group active when they signed off
_____________________
Dark Heart Emporium

http://www.xstreetsl.com/modules.php?name=Marketplace&MerchantID=133020

want more layers for tattoos, specifically for the head? vote here
http://jira.secondlife.com/browse/VWR-1449?

llDetectedCollision* Functions similar to touch
http://jira.secondlife.com/browse/SVC-3369
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
05-20-2009 16:33
From: Papalopulus Kobolowski
Mmmm ... you can use "if same group" .
With this you can check if some avatar is in your (object)group and do stuff

still needs the key, and they have to have the tag active. much easier to feed the manual list of names to w-hat.
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
ElQ Homewood
Sleeps Professionally
Join date: 25 Apr 2007
Posts: 280
05-21-2009 02:04
From: Ruthven Willenov
llSameGroup only checks if they have the same group active. they could still be in the group and not have it active. i haven't tested it, but i'm assuming it'll always return false if the user is offline, even if they had the group active when they signed off


this is true, I tried this about a year ago
Bern Breda
Registered User
Join date: 15 Oct 2008
Posts: 3
05-21-2009 02:41
From: Void Singer

well the manual part is getting the list of names.


Do you mean viewing the group information in SL and retyping the names by hand? I see the list of names, but copy (ctrl-C) doesn't work there. I couldn't find easy ways to script or otherwise automate any of this.

From: Void Singer

there is an off possibility you could get it via an app/request to the viewer group object, but I think it'd need some authentication, so low odds on that (but a tweaked code viwer could do it)


What LSL features/functions would this involve? I've been looking through the wiki reference, but couldn't find much that looks relevant.

Thanks.
Bern Breda
Registered User
Join date: 15 Oct 2008
Posts: 3
05-21-2009 02:41
From: Void Singer

well the manual part is getting the list of names.


Do you mean viewing the group information in SL and retyping the names by hand? I see the list of names, but copy (ctrl-C) doesn't work there. I couldn't find easy ways to script or otherwise automate any of this.

From: Void Singer

there is an off possibility you could get it via an app/request to the viewer group object, but I think it'd need some authentication, so low odds on that (but a tweaked code viwer could do it)


What LSL features/functions would this involve? I've been looking through the wiki reference, but couldn't find much that looks relevant.

Thanks.
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
05-21-2009 08:03
From: Bern Breda
Do you mean viewing the group information in SL and retyping the names by hand? I see the list of names, but copy (ctrl-C) doesn't work there. I couldn't find easy ways to script or otherwise automate any of this.



What LSL features/functions would this involve? I've been looking through the wiki reference, but couldn't find much that looks relevant.

Thanks.

i have heard of using group bots to get the list of names for you
_____________________
Dark Heart Emporium

http://www.xstreetsl.com/modules.php?name=Marketplace&MerchantID=133020

want more layers for tattoos, specifically for the head? vote here
http://jira.secondlife.com/browse/VWR-1449?

llDetectedCollision* Functions similar to touch
http://jira.secondlife.com/browse/SVC-3369
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
05-21-2009 08:39
From: Bern Breda
Do you mean viewing the group information in SL and retyping the names by hand? I see the list of names, but copy (ctrl-C) doesn't work there. I couldn't find easy ways to script or otherwise automate any of this.

From the group info window you double-click on a name to pop up the resident's profile. From there you can highlight and copy the name.
Meade Paravane
Hedgehog
Join date: 21 Nov 2006
Posts: 4,845
05-21-2009 08:46
There is NO scripting support for what you're trying to do. Zero. Nothing. Nada. Can't be done in LSL.

You either need a bot to do it or you need to do it by hand.
_____________________
Tired of shouting clubs and lucky chairs? Vote for llParcelSay!!!
- Go here: http://jira.secondlife.com/browse/SVC-1224
- If you see "if you were logged in.." on the left, click it and log in
- Click the "Vote for it" link on the left
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
05-21-2009 09:51
From: Bern Breda
Do you mean viewing the group information in SL and retyping the names by hand? I see the list of names, but copy (ctrl-C) doesn't work there. I couldn't find easy ways to script or otherwise automate any of this.

that'd be because there aren't any in lsl.

From: someone
What LSL features/functions would this involve? I've been looking through the wiki reference, but couldn't find much that looks relevant.

Thanks.

it'd be in the open source project and the component access stuff... in short, much more complex and outside the context of LSL or a help thread
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -