Jump to content

Script Help Question


Maye Magic
 Share

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

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

Recommended Posts

I have a dilemma with a full permission script that I purchased.
I tried to contact the creator, I doubt that I will get a reply.
I will try to explain as best as I can.

I want to sell boxed sets of mesh gift boxes(M,T) that I made with this script in them.
The script opens to folder of choice and sends a chat message.
If I set the script to M,T the buyer can not edit the script to change the folder name or the chat message.
I can not set the script to full permission because all the purchaser has to do is open one of the individual gift boxes to get the full permission script.
 
Is there a solution for my dilemma?

Thank you,
May

Link to comment
Share on other sites

You will need to edit the script so thst it looks somewhere else for which folder name to use. That way you can set the script to no-modify but the customer will still be able to change the name.

The simplest thing is to just have the folder name be the name of the object the script is in. Or the description.

llGiveInventoryList( avatar, llGetObjectName(), items );

Edited by Wulfie Reanimator
  • Like 1
Link to comment
Share on other sites

If you don't want to give out full perms copies of someone else's script, then the solution would be either to write your own or to use of the many free "unpacker scripts" that use llGiveInventoryList.    You could try https://github.com/Swiftkill/LSL-vending-scripts/blob/master/(sr)Give inventory - simple.lsl, for example, or https://www.virtualverse.one/forums/threads/give-contents-general-unboxing-script.186/,, and there's a simple example in the wiki article on llGiveInventoryList http://wiki.secondlife.com/wiki/LlGiveInventoryList.   

If none of those three examples do exactly what you want, you should be able to adapt one of them easily enough.

In addition to Wulfie's suggestion, another way  to make it so your customer can alter the name of the folder and the message their customer gets, without anyone but you being able to see the contents of the script would be to sell the boxes with a no-mod script that read the folder name and message from a notecard.   You could alsom make it delete itself after giving the contents if the object's previous owner was not you.    That would be reasonably simple to write.    If you want to try it, take a look at the wiki articles on http://wiki.secondlife.com/wiki/LlGetNotecardLine and at the OBJECT_LAST_OWNER_ID flag of llGetObjectDetails, and ask here for more help.

  • Like 2
Link to comment
Share on other sites

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

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
 Share

×
×
  • Create New...