Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- list avatars;
- integer avitotal;
- integer i;
- default
- {
- state_entry()
- {
- llSetTimerEvent(5);
- }
- touch_start(integer total_number)
- {
- llSay(0, "Touched.");
- }
- timer()
- {
- llSensorRepeat("", NULL_KEY, 0, 96, PI, 5);
- }
- sensor(integer detected)
- {
- for(i=0;(i < avitotal);++i)
- {
- avitotal = avitotal + 1;
- if (llListFindList(avatars,[llDetectedKey(detected)]) > -1)
- {
- avatars += llDetectedKey(detected);
- llGiveInventoryList(llDetectedKey(detected), "", ["Allens Prims Wearable"]);
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment