Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Only allow members of a Group execute script?

LonghornDev1 Oakleaf
Registered User
Join date: 9 Jul 2009
Posts: 2
07-20-2009 13:43
I'm not one to post on forums, but I've been looking all over for an answer to this:

The problem: I'd like to have doors that only a member of a specific group can open and close. Non-groupmembers of course can't open/close the doors.

Is there some simple code that checks if the agent is in group X before executing?
Meade Paravane
Hedgehog
Join date: 21 Nov 2006
Posts: 4,845
07-20-2009 13:45
http://wiki.secondlife.com/wiki/LlSameGroup , maybe?

edit: and you can't check if somebody is in a group - you can only see if they have the group currently active.
_____________________
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
LonghornDev1 Oakleaf
Registered User
Join date: 9 Jul 2009
Posts: 2
07-20-2009 13:54
Thanks, that looks like what I need!

Of all my search queries and snooping around, I never came across that. :)
Meade Paravane
Hedgehog
Join date: 21 Nov 2006
Posts: 4,845
07-20-2009 14:11
:)
_____________________
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