Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Looking for simple base scripts

Sabrina Doolittle
Registered User
Join date: 15 Nov 2005
Posts: 214
12-13-2005 17:05
Hiya :)

I am under the possibly mistaken impression these scripts are freely available and used in SL but I don't know where to locate them and I was hoping someone would be nice enough to help me out. Here's what I need:

1. Touch for notecard dispenser
Touch an object and it dispenses and opens a notecard you can keep or discard

2. Touch to get object
The thing used for food and drink where you touch the bread basket and it gives you a
plate with some bread in your invenotry which you can then wear in your hand.

3. Touch for Whisper
Touch an object and it whispers to you. I'd actually love one where you can touch and
it whispers a random phrase from a list but I'm not going to be picky.

I need copy/mod/transfer versions, I think.

If I have to buy them somewhere that's OK too, but generally I have found there's a free version of almost everything :) Thanks so much for any help that can be offered!
Kayla Stonecutter
Scripting Oncalupen
Join date: 9 Sep 2005
Posts: 224
12-13-2005 18:25
1.Gives the first notecard in the objects inventory.
CODE
default
{
touch_start(integer total_number)
{
llGiveInventory(llDetectedKey(0), llGetInventoryName(INVENTORY_NOTECARD, 0));
}
}

2.Same as 1, but with an object
CODE
default
{
touch_start(integer total_number)
{
llGiveInventory(llDetectedKey(0), llGetInventoryName(INVENTORY_OBJECT, 0));
}
}

3.
CODE
default
{
touch_start(integer total_number)
{
llWhisper(0, "Hello, there!");
}
}
Have fun!
_____________________
Sabrina Doolittle
Registered User
Join date: 15 Nov 2005
Posts: 214
12-13-2005 20:19
You completely rock, thank you *so* much :)
Kim Ludd
Registered User
Join date: 6 Jun 2005
Posts: 17
other script examples
12-14-2005 09:25
http://secondlife.com/badgeo/wakka.php?wakka=examples

there are places to get freebie scripts inWorld too. I have some if you want to IM me.