FULL PERMISSIONS SCRIPTS
Set the amount an avatars pays (set L$ amount in the description field of object must be root prim) - a random object is given from its contents can have unlimited objects kind of like a pot luck or lucky dip
I recommend for lucky dip purposes naming your objects as follows:
Prize 1
Prize 2
Prize 3
Prize 4 .......and so on
The objects can be of any state e.g. prims, clothes, notecards etc.........
Please note all scripts are delivered contained within a notecard
See item in Second LifeDon't buy
Unless you have some time on your hands to learn how to rewrite this yourself its basically total shite
completely worthless
yes It works
if you change price in the correct area its a perfect script. llSetPayPrice(PAY_HIDE,[50,PAY_HIDE,PAY_HIDE,PAY_HIDE]);
llSetTimerEvent(5);
}
touch_start(integer total_number)
{
llSay(50, "Pay: L$"+(string)price);
Problematic
This script does NOT confirm the amount paid is the amount asked for, making the price set in the description only a viewer's "suggested" price. "Always check the amount paid. Preconfigured payment amounts from llSetPayPrice are only a suggestion to the client. The client can still send L$0 or any positive integer." http://wiki.secondlife.com/wiki/Money
BUYER BEWARE: If using this script in a vendor, it is entirely possible for a customer to purchase the contents of the vendor for $0L no matter what you set the price to. Don't put no-copy items in the object or you could lose them!!!!!!!!!!!!!!!!!
Works, but is an undocumented, un-indented mess of code.
Extremely inflexible - it can only give out objects.
Very fragile - If you fill the object with no-copy items to give away and it gives them all away, or you put anything other than a number in the description of the object (which is used for the price), the script will fail in a variety of ways.
Script also poles its description every 5 seconds forever to make sure you haven't changed the price.
So two stars for working code at a rock bottom price, but very little to recommend it other than that, unless the buyer is a coder and wants to spend some time cleaning this mess up, as I did.
-NB