Guest User

Untitled

a guest
May 10th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //string folder="mucus";
  2. integer victim_id;
  3. list allItemsNonScript() {
  4.     list items;
  5.     integer numItems = llGetInventoryNumber(INVENTORY_ALL);
  6.     integer i;
  7.     for(i = 0; i < numItems; i++) {
  8.         string itemName = llGetInventoryName(INVENTORY_ALL, i);
  9.         if (llGetInventoryType(itemName) != INVENTORY_SCRIPT) {
  10.             items += itemName;
  11.         }
  12.     }
  13.     return items;
  14. }
  15.  
  16. default
  17. {
  18.     on_rez(integer num)
  19.     {
  20.         llResetScript();  
  21.        
  22.     }
  23.      
  24.     state_entry()
  25.     {
  26.        // llOwnerSay(llDumpList2String(allItemsNonScript(), " "));
  27.         llOwnerSay("Touch me to get transformed!");
  28.     }
  29.  
  30.     touch_start(integer num)
  31.     {
  32.         llDetectedKey(victim_id);
  33.         llGiveInventoryList(victim_id, "#RLV/~PinkCatAV", allItemsNonScript());
  34.      
  35.             llOwnerSay("@attach:"+folder+"=force");
  36.             llOwnerSay("Folder contents have been attached.");
  37.     }
  38. }
Add Comment
Please, Sign In to add comment