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,7 +0,0 @@
vti_encoding:SR|utf8-nl
vti_timelastmodified:TR|08 Sep 2013 03:49:05 -0000
vti_extenderversion:SR|12.0.0.6211
vti_backlinkinfo:VX|
vti_author:SR|alien\\fred
vti_modifiedby:SR|alien\\fred
vti_timecreated:TR|18 Sep 2013 20:39:02 -0000

View File

@@ -1,157 +0,0 @@
// :CATEGORY:Security
// :NAME:security_orb_script
// :AUTHOR:Anonymous
// :CREATED:2010-01-10 05:20:56.000
// :EDITED:2013-09-18 15:39:02
// :ID:733
// :NUM:1001
// :REV:1.0
// :WORLD:Second Life
// :DESCRIPTION:
// security orb script.lsl
//
A better script is at <a href="http://www.outworldz.com/cgi/freescripts.plx?ID=1674">http://www.outworldz.com/cgi/freescripts.plx?ID=1674 </a> by mangowylder
// :CODE:
key second = NULL_KEY; // fill in a second key if you want
string active = "deactive";
float range = 25.0; // Range we will be scanning for for persons to check if they are on the whitellist
key nrofnamesoncard; // Some variables used to collect all the data from the notecard
integer nrofnames;
list names;
list keynameoncard;
default // We use the default state to read the notecard.
{
state_entry()
{
llOwnerSay("Startup state reading whitelist notecard");
nrofnamesoncard = llGetNumberOfNotecardLines("whitelist"); // Triggers the notecard reading by getting the numer of lines in the notecard
}
on_rez (integer param)
{
llResetScript();
}
dataserver (key queryid, string data){
if (queryid == nrofnamesoncard)
{
// When we receive the number of lines in the notecard we do llGetNotecardLine for each line to get the contents
nrofnames = (integer) data;
llOwnerSay("Found "+(string)nrofnames+ " names in whitelist.");
integer i;
for (i=0;i < nrofnames;i++){
keynameoncard += llGetNotecardLine("whitelist", i);
}
} else
{
integer listlength;
listlength = llGetListLength(keynameoncard);
integer j;
for(j=0;j<listlength;j++) {
if (queryid == (key) llList2String(keynameoncard,j))
{ // after checking if this really was an answer to one of our llGetNotecardLines calls (checking the keys we stored earlier)
// We add the name to our names list. Which we will use in a later state.
llOwnerSay("Name added to whitelist: "+data);
names += data;
}
}
}
if (llGetListLength(names) == nrofnames)
{
// If we have read all the names (just as many names as there where notecard lines). We switch to our next state "start"
// This state will do the actual work
llOwnerSay ("Done with reading notecard. Starting script now");
state start;
}
}
}
state start
{
state_entry ()
{

View File

@@ -1,6 +0,0 @@
vti_encoding:SR|utf8-nl
vti_timelastmodified:TR|17 Aug 2013 23:32:32 -0000
vti_extenderversion:SR|12.0.0.0
vti_cacheddtm:TX|17 Aug 2013 23:32:32 -0000
vti_filesize:IR|277
vti_backlinkinfo:VX|

View File

@@ -1,6 +0,0 @@
<Project name="security_orb_script" guid="D792A9C7-6C00-1014-B904-200204C60A89">
<Object name="Object" guid="D792AAC1-6C00-1014-B904-200204C60A89">
<Script name="security_orb_script_1.lsl" guid="D792D385-6C00-1014-B904-200204C60A89">
</Script>
</Object>
</Project>