G General

Random Prize Giver Script

Random Prize Giver Script
Detalles
Funciones
Contenidos
Reseñas

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

Ver el artículo en Second Life
Clasificación media: estrella llena estrella llena estrella llena estrella llena estrella vacía
  • 5 estrella:
  • 4 estrella:
  • 3 estrella:
  • 2 estrella:
  • 1 estrella:
Don't buy
estrella llena estrella vacía estrella vacía estrella vacía estrella vacía Publicado June 11, 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

¿Te ha resultado útil esta revisión?
yes It works
estrella llena estrella llena estrella llena estrella llena estrella llena Publicado April 28, 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);

¿Te ha resultado útil esta revisión?
Problematic
estrella llena estrella vacía estrella vacía estrella vacía estrella vacía Publicado August 04, 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!!!!!!!!!!!!!!!!!

¿Te ha resultado útil esta revisión?
estrella llena estrella llena estrella vacía estrella vacía estrella vacía Publicado April 25, 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

¿Te ha resultado útil esta revisión?