Basic Second Life scripts: Named specific item inventory giver.

Don’t you hate it when the simplest things take an hour to find an answer to because it’s so simple nobody bothers to give you an answer?

default
{
    touch_start(integer total_number)
    {  
       //gives a NAMED object, notecard, etc from object inventory.
       llGiveInventory(llDetectedKey(0), "Name of The Thing"); 
       llGiveInventory(llDetectedKey(0), "Name of Another Thing"); 
    }
}

Discover more from Zen Metal

Subscribe to get the latest posts sent to your email.