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__Group_Inv  

Landmark__Notecard_Giver__Group_Inv

Landmark__Notecard_Giver__Group_Inv

Category: Inventory Giver
By : mangowylder
Created: 2012-10-23 Edited: 2012-10-23
Worlds: Second Life

the Zip file

Download all files for Landmark__Notecard_Giver__Group_Inv
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. Landmark__Notecard_Giver__Group_Inv_1.lsl
1 // This script will give a notecard and landmark to the user that touches it.
2 // If the user is not in the same group as the object they will be offered to
3 // join the group.
4 // This script is written to give one notecard and one landmark.
5 // If you put more than one of any item in the objects contents
6 // only the first alphabetically sorted item will be given.
7
8 // Mango Wylder
9
10 // Globals
11 string gStrUUID;
12
13 GiveInventory(key vKeyToucherId)
14 {
17 llGiveInventory(vKeyToucherId, vStrNotecard);
18 llGiveInventory(vKeyToucherId, vStrLandmark);
19 }
20
21 default
22 {
24 {
26 }
27 touch_start(integer total_number)
28 {
30 {
31 GiveInventory(llDetectedKey(0));
32 }
33 else
34 {
35 GiveInventory(llDetectedKey(0));
36 llRegionSayTo(llDetectedKey(0),0,"Want to join the group? Please click the link!"
37 +"\n secondlife:///app/group/"+gStrUUID+"/about");
38 }
39 }
40 }

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