integer switch=0;
key name;
default
{
state_entry()
{
list access_list = ["aviname","","","","",""];
llWhisper(0,"protcol 5");
name = llGetOwner();
}
touch_start(integer total_number)
{
if(switch==0)
{
switch=1;
llSensorRepeat("","",AGENT,50,PI,15.0);
llWhisper(0,"on");
}
else if(switch==1)
{
switch=0;
llSensorRemove();
llWhisper(0,"off");
}
}
sensor(integer total_number)
{
vector pos = llGetPos();
integer j;
integer count = total_number;
for (j = 0; j < count; j++)
{
if(llDetectedKey(j) "Diablo Difference","Sharraki","Isaiah Scorpio")
{
float diff = llVecDist(pos,llDetectedPos(j));
integer dist = llRound(diff);
string result = (llDetectedName(j)) + " " + ((string)dist) + "m";
llDialog(llGetOwner(), "Select option", ["alert"], 10);
llSensorRepeat("","",AGENT,50,PI,209.0);
//}
}
}
no_sensor()
{
llDialog(llGetOwner(), "Select option", ["relax"], 10);
llSensorRepeat("","",AGENT,50,PI,15.0);
}
} ok so this is the script so far, the only thing that doesnt work and i cant figure out is how to add and access list to the script so the scanner will ignore certain people and not trigger the alert. any help is apprechiated :)