G General

Smart Raffle

Smart Raffle
Detalles
Funciones
Contenidos
Reseñas

SMART RAFFLE
Project Summary: Automatic Contest Board
This LSL script is an Automated Contest Board designed for Second Life group activities. Its primary purpose is to manage a prize pool and distribute L$ (Linden Dollars) to participants once specific conditions are met.

How it Works
A manager starts the contest through a touch menu. The system remains in a waiting state until the "Minimum Entrants" requirement is met. Once reached, a countdown timer begins. When the time expires, the script automatically distributes the prize pool to the participants based on the selected payment mode and resets itself for the next round.

Payment Modes
The system offers three distinct ways to distribute the prize:

Single: One lucky winner is randomly selected to receive the entire prize pool.

Equal Split: The total prize is divided equally among all registered participants.

Luck Split: The prize is divided into random shares, giving each participant a different "lucky" amount.

Notecard Definition (NC)
The project relies on a specific configuration file named "Managers" located in the object's inventory.

The "Managers" Notecard: You must create a notecard named exactly Managers and place it inside the board.

Content: Enter the Username of each person you wish to grant administrative access to, with one name per line.

Function: Upon reset, the script reads this list. Anyone listed (plus the owner) can access the Admin Panel to change settings like prize amount, time, and entry requirements.

Key Features
Group Access: Only users wearing the correct group tag can join the contest.

Debit Permissions: The owner must grant "Debit" permission upon setup so the script can legally transfer L$ from the owner's account to the winners.

Dynamic Hover Text: The board uses colored floating text to show real-time status: Red for offline/closed, White for waiting for entries, and Green for an active countdown.

Admin Control: Managers can set the Prize amount, Duration (in minutes), and Minimum Participants via a text box and dialog menu.

  • script
  • prize
  • entertainment
  • giveaway
  • contest