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
Greeter Welcome_Mat  

Welcome_Mat

Welcome Mat.lsl

Category: Greeter
By : Jason Keegan
Created: 2010-01-10 Edited: 2010-01-10
Worlds: Second Life

the Zip file

Download all files for Welcome_Mat
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. Welcome_Mat_1.lsl
1
2
3
4 1// Remove this number for this script to work
5
6
7
8
9
10 //Script Donated to The Wall Of Script by Alan Edison, Original creator Unknown. Modified by Jason Keegan.
11
12 //This is a welcoming script, It will be triggered as it detects someone walking on the prim which has this script in it.
13
14
15 string Welcome = "Welcome to my humble abode"; //This is the message the welcome mat will give when it detects someone on it.
16
17
18 string Online = "Welcome mat Online."; //This is the message you will hear when the script is reset to confirm the script is active.
19
20
21
22 float gSleep = 3;// This is the time delay of the welcome mat, Giving time for the person that sets the welcome mat enough time to walk off.
23
24
25
26 integer name = TRUE; //If you do not wish for the welcome mat to also add thename of the person that walked on it, Then change the TRUE to FALSE.
27
28
29 default
30 {
32 {
33 llSay(0, Online);
34 }
35
36 collision_start(integer total_number)
37 {
38 if(name == TRUE)
39 {
40 llWhisper(0, Welcome + " " + llDetectedName(0));
41 llSleep(gSleep);
42 }
43 else
44 {
45 llWhisper(0, Welcome);
46 llSleep(gSleep);
47 }
48 }
49 on_rez(integer start_param)
50 {
52 }
53 }
54 // END //

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