Join us in Outworldz at www.outworldz.com:9000 or follow us:

Search dozens of selected web sites for OpenSim and LSL script

New! Script Meta-Search will search thousands of scripts here and at other sites for LSL or Opensim scripts.
Loading

Want to add a script or a project? Upload it and a half million people will see it and your name here this year.

Home   Show All
Category: Contributor: Creator
Inventory Giver LandMark_NoteCard_Giver  

LandMark_NoteCard_Giver

LandMark_NoteCard Giver.lsl

Category: Inventory Giver
By : Anonymous
Created: 2010-01-10 Edited: 2010-01-10
Worlds: Second Life

the Zip file

Download all files for LandMark_NoteCard_Giver
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. LandMark_NoteCard_Giver_1.lsl
1
2
3 1// remove this number for the script to work.
4
5
6
7
8 //This script will automatically detect the name of you landmark and notecard. Just insure that they are the only 2 things you put in the box with this script other than the sound which is provided.
9
10 string HText = "Landmark and Notecard Giver!"; //This is the text you wish to be displayed above your object, leave blank if you do not wish for anything to be displayed. To make a new line of text, add '\n' to your text to tell the script to start a new line.
11
12 vector Color = <1,0,0>; //This is the color you wish for the hover text to be displayed as. Its is currently red.
13
14 float Alpha = 1; //This is the transparency of the HoverText, 1 is solid, 0 is Transparent.
15
16 //________________________________________________________________________
17
18
19
20 default
21 {
23 {
24 llSetText(HText,Color,Alpha);
25 }
26 touch_start(integer total_number)
27 {
28 llSay(0, "Thank you for requesting this information");
31 llInstantMessage(llGetOwner(), "LandMark giver at " + llGetRegionName() + " has just been used by " + llKey2Name(llDetectedKey(0)) + "!");
32 }
33 on_rez(integer start_param)
34 {
36 }
37 }
38 // END //

Back to the Best Free Tools in Second Life and OpenSim.