Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sensor(integer numDetected) {
- if (numDetected) {
- nearbyNames = [];
- nearbyKeys = [];
- integer i;
- for(i=0; i < numDetected; i++) {
- nearbyNames = nearbyNames + [llDetectedName(i)];
- nearbyKeys = nearbyKeys + [llDetectedKey(i)];
- }
- llDialog(SensorID, "Nearby avatars:", nearbyNames, channel_sensor);
- }
- else {
- previousPage = "Owner";
- llOwnerSay("Sorry, but there is nobody in range to add as an owner.");
- llDialog(SensorID, "Sorry, but there is nobody in range to add as an owner.", ["<= Back"], channel_gag);
- }
- }
Add Comment
Please, Sign In to add comment