Miyuko101 Posted March 9, 2014 Share Posted March 9, 2014 Hi guys!I have a store, and I wanna put a gift on it. But I want people to join my group. Is there any script where people NEED to join my group before opening the box? Thanks! Link to comment Share on other sites More sharing options...
Qie Niangao Posted March 9, 2014 Share Posted March 9, 2014 You can't really check them before they open it, but you certainly can distribute it using a script that first checks llSameGroup(). (Of course, that's in-world distribution, not through Marketplace, in case that's what you were thinking.) 2 Link to comment Share on other sites More sharing options...
Dora Gustafson Posted March 9, 2014 Share Posted March 9, 2014 It is easier and common practice only to give gifts to group members Tell me why you can't do it that way :smileysurprised::smileyvery-happy: 2 Link to comment Share on other sites More sharing options...
Ohjiro Watanabe Posted March 10, 2014 Share Posted March 10, 2014 http://wiki.secondlife.com/wiki/LlDetectedGroup //Gives inventory only to agents with the same active groupdefault{ touch_start(integer total_number) { if (llDetectedGroup(0) ) //same as llSameGroup(llDetectedKey(0) ) (with llSameGroup, detected must be in the sim) llGiveInventory(llDetectedKey(0), llGetInventoryName(INVENTORY_OBJECT, 0) ); else llSay(0, "Wrong active group!"); }} Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now