This commit is contained in:
Fred Beckhusen
2015-08-07 15:34:30 -05:00
parent ce47ec2f3e
commit fde850293c
8080 changed files with 0 additions and 2443112 deletions

View File

@@ -1,40 +0,0 @@
// :CATEGORY:Scanner
// :NAME:detection_script
// :AUTHOR:Anonymous
// :CREATED:2010-01-10 05:20:56.000
// :EDITED:2013-09-18 15:38:51
// :ID:229
// :NUM:315
// :REV:1.0
// :WORLD:Second Life
// :DESCRIPTION:
// detection script.lsl
// :CODE:
float ScannerRange = 2; //radius in m of scan area
float ScanFrequency = 15; //no of secs between scans
string VisitorIsAt="my home"; //location of scanner
default
{
state_entry()
{
llSensorRepeat("", "", AGENT, ScannerRange, PI, ScanFrequency); // regularly scan for people
}
sensor(integer number_detected)
{
integer i;
for(i = 0; i < number_detected; i++) // Create a loop to let us check each
{
if(llDetectedKey(i) != llGetOwner()) // Is this someone other than the owner?
{
llInstantMessage(llGetOwner(), llDetectedName(i) + " freeze right there! why are you snoping around next to " + VisitorIsAt); // send an IM to the owner.
}
}
}
}
// END //

View File

@@ -1,6 +0,0 @@
<Project name="detection_script" guid="D7082C07-6C00-1014-B904-200204C60A89">
<Object name="Object" guid="D7082D07-6C00-1014-B904-200204C60A89">
<Script name="detection_script_1.lsl" guid="D70845E7-6C00-1014-B904-200204C60A89">
</Script>
</Object>
</Project>