Join us in Phaze Demesnes

LSL Script Library Home   Add a script Show All
Category: Contributor: Description
Inventory Giver Anonymous LandMark_NoteCard Giver.lsl
LandMark_NoteCard Giver.lsl
LandMark_NoteCard Giver.lsl

Download this script - Please use this link to get this script. If you see all the code on one long line, please use Wordpad or another editor, such as LSLEdit.exe. The .LSL file you will download is an ordinary text file.

1 // CATEGORY:Giver
2 // DESCRIPTION:LandMark_NoteCard Giver.lsl
3 // ARCHIVED BY:Ferd Frederix
4
5
6 1// remove this number for the script to work.
7
8
9
10
11 //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.
12
13 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.
14
15 vector Color = <1,0,0>; //This is the color you wish for the hover text to be displayed as. Its is currently red.
16
17 float Alpha = 1; //This is the transparency of the HoverText, 1 is solid, 0 is Transparent.
18
19 //________________________________________________________________________
20
21
22
23 default
24 {
26 {
27 llSetText(HText,Color,Alpha);
28 }
29 touch_start(integer total_number)
30 {
31 llSay(0, "Thank you for requesting this information");
34 llInstantMessage(llGetOwner(), "LandMark giver at " + llGetRegionName() + " has just been used by " + llKey2Name(llDetectedKey(0)) + "!");
35 }
36 on_rez(integer start_param)
37 {
39 }
40 }
41 // END //