Jump to content

Gift give to certain group?


Voodoo Scientist
 Share

You are about to reply to a thread that has been inactive for 3776 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

I have seen a bunch of gift givers that work with the same group command but is it possible to have a prim belong to one group and the gift be given to a certian other group. Reason for this is My store is in an area where scripts are disabled except for the store owners group, and customers are not allowed in this group.

I dont understand LSL at all but it seem like you could fairly easily change llSameGroup to if avatar key matches "6r8i756r8i7r76rr6r" give him a cupie doll.

Link to comment
Share on other sites

I can confirm Beverly's method works, although I can't remember if it survives region resets or region crossings....

you can check for those ing the changed event, by hard coding the groups key into the script, then checking it is still the same in the changed event when CHANGED_REGION, or CHANGED_REGION_RESTART is triggered with a call to

llList2String( llGetObjectDetails( llGetKey(), [OBJECT_GROUP] ), 0 );

 

if it fails to match, have it tell you with

llInstantMessage( llGetOwner(), "I am broken" );

which will go to your e-mail if you are offline, and have messages set to go to e-mail when you aren't inworld

Link to comment
Share on other sites

  • 3 months later...
You are about to reply to a thread that has been inactive for 3776 days.

Please take a moment to consider if this thread is worth bumping.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...