-
Posts
4 -
Joined
-
Last visited
Content Type
Forums
Blogs
Knowledge Base
Posts posted by PixiPretty
-
-
On 20/08/2016 at 9:25 PM, Jules1979 said:
I used this sctipt on my land.
// Group gift / join script released into public domain by Qie Niangao, 2009.key GROUP_KEY = "GROUP_KEY";// Get the GROUP_KEY from its web page, found with// Search / All or from// http://search.secondlife.com/web/search/groups/?q="Group Name"// At the bottom of the group's web page is its URL,// the end of the URL is the group's key.string GIVING_MSG = "Thanks for your interest, and please enjoy your gift!";string JOIN_MSG = "You need to be a member of the group to get the gift. If you're not a member, type Control-H to get the chat history, and click on the following blue-highlighted text, then Join. ";string NOT_ACTIVE_MSG = "Or perhaps you're already a member and just don't have this group active at the moment; if so, click on the following text, choose the group from the list, and Activate. ";string FOLDER_NAME = "Gift from Group Name";// ____________________________________________// END OF STUFF MOST USERS WOULD WANT TO CHANGE// --------------------------------------------string GROUP_URI = "secondlife:///app/group/";list giftContents;default{ state_entry() { // In lieu of other specs, we'll just give everything in the object's inventory except this script // in a new folder named FOLDER_NAME. integer invIdx = llGetInventoryNumber(INVENTORY_ALL) - 1; string scriptName = llGetScriptName(); for (; invIdx >= 0; invIdx--) { string invItemName = llGetInventoryName(INVENTORY_ALL, invIdx); if (invItemName != scriptName) giftContents += invItemName; } if ([] == giftContents) state no_contents; else llWhisper(0, "Will give folder named \"" + FOLDER_NAME + "\" containing these items: " + llDumpList2String(giftContents, ", ")); } changed(integer change) { if (CHANGED_INVENTORY & change) llResetScript(); } touch_start(integer total_number) { key toucher = llDetectedKey(0); if (llSameGroup(toucher)) { llInstantMessage(toucher, GIVING_MSG); llGiveInventoryList(toucher, FOLDER_NAME, giftContents); return; } llInstantMessage(toucher, JOIN_MSG + GROUP_URI + (string)GROUP_KEY + "/about\n" + NOT_ACTIVE_MSG + GROUP_URI + "list/show"); }}state no_contents{ state_entry() { llWhisper(DEBUG_CHANNEL, "Nothing to give; please add one or more gift items."); } changed(integer change) { if (CHANGED_INVENTORY & change) llResetScript(); }}
Hi, I'm trying to make group gifts with no luck, I found this post but the text for this script pastes as one line when I put it into a SL new script! , is there anyway I can get this script set out for SL scripts, thanks
-
Hi I came across this 'Inventory creation on in-world object failed' message today while packing clothing items into a box, I worked out I was wearing a link to that item. Just check you're not wearing it, or a link to it in 'Worn' tab
-
Hi, I have run into this issue before a few times, it happened now when I mirrored an object on my mesh... I fixed it by going to 'object' 'apply', 'rotation and scale', the normals then reversed so I flipped them the right way. It then uploaded fine.
- 1
How can I set a gift for one group?
in Everything Else
Posted
Ty! you are an absolute star