G Général

Random Prize Giver Script

Random Prize Giver Script
Détails
Caractéristiques
Contenu
Avis

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

Voir l'article dans Second Life
Note moyenne : étoile pleine étoile pleine étoile pleine étoile pleine étoile vide
  • 5 étoile :
  • 4 étoile :
  • 3 étoile :
  • 2 étoile :
  • 1 étoile :
Don't buy
étoile pleine étoile vide étoile vide étoile vide étoile vide Publié le 11/6/2014 de Aire Xaris

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

Cet avis vous a-t-il été utile ?
yes It works
étoile pleine étoile pleine étoile pleine étoile pleine étoile pleine Publié le 28/4/2013 de 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);

Cet avis vous a-t-il été utile ?
Problematic
étoile pleine étoile vide étoile vide étoile vide étoile vide Publié le 4/8/2011 de 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!!!!!!!!!!!!!!!!!

Cet avis vous a-t-il été utile ?
étoile pleine étoile pleine étoile vide étoile vide étoile vide Publié le 25/4/2010 de 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

Cet avis vous a-t-il été utile ?