G General

~FT~ Advent calendar scripted (no mod script)

~FT~ Advent calendar scripted (no mod script)
Details
Features
Contents
Reviews

~FT~ Advent Calendar Scripted (Script-No Modify Version)
Take Your Gift Each Day—December 1–25

Bring festive magic to your home, shop, or event with this beautifully crafted scripted Advent Calendar. Perfect for creators, store owners, or anyone who wants to offer their own daily gifts during the holiday
season.
Mind you, you should have permission to copy and transfer your gifts.
Features
Fully Scripted — give one gift per avatar per day
Dates 1–25 December
Script No Modify Version — already set messages, gift names (Gift-01) .
Beautiful Chalkboard-style Design
4 LI only (may vary slightly if resized)
Copy/Modify
Size: approx. 2m × 2.8m
How It Works:
Users click the gift for the current calendar day.
Script ensures one gift per avatar per day.
You can place your gifts inside and adjust settings to match your needs.
Perfect for holiday hunts, store promotions, RP events, or home decoration.
WHAT’S INCLUDED
===============================================
Advent Calendar Object

Script Version A — Group-Only Access
(Visitors must wear the same active group as the object)

Script Version B — Open Access (No group required)
(Anyone can receive the gifts, one per day)

Example naming template for your gifts: Gift-01 … Gift-25
===============================================
The calendar logic is already inside the object – you only need to:

Put your gifts inside.

Set the object to your own group.

No scripting knowledge required.

===============================================

WHAT THIS CALENDAR DOES
===============================================

• Works automatically from 1 December to 25 December (by region date).
• Each day, the script looks for a gift named Gift-01, Gift-02, … Gift-25 in the object’s inventory.
• When a visitor touches the calendar:

It checks if they wear the same group as the object.

If not in group – they get a private IM telling them that this calendar is for group members only and they must wear the correct group tag.

If in the group and within 1–25 December – they receive that day’s gift.

Each avatar can take only one gift per day. If they touch again the same day, they get a message that they already received today’s gift and should come back tomorrow.

===============================================
2. PREPARING YOUR GIFTS

Prepare up to 25 gifts (objects, landmarks, notecards, clothing, etc.).

Name them exactly like this (two digits!):

Gift-01
Gift-02
Gift-03

Gift-25

• Gift-01 will be given on 1 December
• Gift-02 on 2 December, etc.

If you don’t plan to use all 25 days, you can just create gifts for the days you need (for example, Gift-01 to Gift-10).
– On days where the corresponding gift is missing, the script will send you a warning IM:
“The gift for Day X (Gift-XX) is missing in my inventory. Please tell the calendar owner.”
Optional Alternative
If you prefer zero errors for buyers, you can include empty placeholder items named Gift-01…Gift-25 (notecards).
Buyers replace them.
This prevents the “missing gift” message.
===============================================
3. SETTING THE CALENDAR TO YOUR GROUP

The group check is done with llSameGroup, which means:

The avatar must wear the same active group tag as the calendar object.

To set this:

Rez the Advent Calendar object on the ground.

Right-click the calendar → Edit.

In the General tab, find Group and click [Set…].

Choose your group (the one whose members should get the gifts) and press OK.

Make sure that when you test, you are wearing this group tag.

• If the calendar is on group-owned land, you may also need to Deed it to the group if required by your land settings (optional, depends on the parcel).
• You do not need to edit the script for the group – the script simply checks if avatar group == object group.

===============================================
4. ADDING YOUR GIFTS TO THE CALENDAR

Right-click the calendar → Edit.

Go to the Contents (or Contents / Inventory) tab of the object.

Drag your items from your inventory into the object contents:

Gift-01
Gift-02

Gift-25

Check that:
• All names are spelled correctly (no extra spaces).
• Each name has two digits: 01, 02, 03… 09, 10, 11… 25.

Important: names must match exactly (including the dash and the zeros),
e.g. Gift-01, not gift 1 or Gift1.

If you add / remove gifts later, you can reset the script (see below).

===============================================
5. HOW VISITORS USE THE CALENDAR

Visitors just have to:

Wear your group tag (the same group you set the object to).

Touch the calendar once per day.

The script will:
• Give the corresponding day’s gift (if available).
• Send them a message, for example:
“Merry Advent, [Name]! You received the gift for Day 7: "Gift-07".”

See item in Second Life