G Geral

Random Prize Giver Script

Random Prize Giver Script
Detalhes
Destaques
Conteúdo
Resenhas

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

Veja o item no Second Life
Classificação média: estrela cheia estrela cheia estrela cheia estrela cheia estrela vazia
  • 5 estrela(s):
  • 4 estrela(s):
  • 3 estrela(s):
  • 2 estrela(s):
  • 1 estrela(s):
Don't buy
estrela cheia estrela vazia estrela vazia estrela vazia estrela vazia Postado(s) 11/06/2014 por Aire Xaris

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

Esta resenha foi útil?
yes It works
estrela cheia estrela cheia estrela cheia estrela cheia estrela cheia Postado(s) 28/04/2013 por 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);

Esta resenha foi útil?
Problematic
estrela cheia estrela vazia estrela vazia estrela vazia estrela vazia Postado(s) 04/08/2011 por 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!!!!!!!!!!!!!!!!!

Esta resenha foi útil?
estrela cheia estrela cheia estrela vazia estrela vazia estrela vazia Postado(s) 25/04/2010 por 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

Esta resenha foi útil?