G General

Random Prize Giver Script

Random Prize Giver Script
Details
Features
Contents
Reviews

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 Life
Average rating: full star full star full star full star empty star
  • 5 star:
  • 4 star:
  • 3 star:
  • 2 star:
  • 1 star:
Don't buy
full star empty star empty star empty star empty star Posted June 11, 2014 by Aire Xaris

Unless you have some time on your hands to learn how to rewrite this yourself its basically total shite
completely worthless

Was this review helpful?
yes It works
full star full star full star full star full star Posted April 28, 2013 by Vixen Penucca

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);

Was this review helpful?
Problematic
full star empty star empty star empty star empty star Posted August 04, 2011 by Trance12 Farquart

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!!!!!!!!!!!!!!!!!

Was this review helpful?
full star full star empty star empty star empty star Posted April 25, 2010 by Naomah Beaumont

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

Was this review helpful?