Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //string folder="mucus";
- integer victim_id;
- list allItemsNonScript() {
- list items;
- integer numItems = llGetInventoryNumber(INVENTORY_ALL);
- integer i;
- for(i = 0; i < numItems; i++) {
- string itemName = llGetInventoryName(INVENTORY_ALL, i);
- if (llGetInventoryType(itemName) != INVENTORY_SCRIPT) {
- items += itemName;
- }
- }
- return items;
- }
- default
- {
- on_rez(integer num)
- {
- llResetScript();
- }
- state_entry()
- {
- // llOwnerSay(llDumpList2String(allItemsNonScript(), " "));
- llOwnerSay("Touch me to get transformed!");
- }
- touch_start(integer num)
- {
- llDetectedKey(victim_id);
- llGiveInventoryList(victim_id, "#RLV/~PinkCatAV", allItemsNonScript());
- llOwnerSay("@attach:"+folder+"=force");
- llOwnerSay("Folder contents have been attached.");
- }
- }
Add Comment
Please, Sign In to add comment