This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// when the prim is touched, the script checks all other inventory items whether or not they're copiable | |
// copiable items are added to a list, if the list is not empty when all items have been checked | |
// the prim gives them to the touching avatar within a single folder | |
unpack(key target) | |
{ | |
string thisScript = llGetScriptName(); | |
list inventoryItems; | |
integer inventoryNumber = llGetInventoryNumber(INVENTORY_ALL); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default | |
{ | |
state_entry() | |
{ | |
llSetLinkPrimitiveParamsFast(LINK_ROOT, [PRIM_PHYSICS, TRUE]); | |
} | |
on_rez(integer param) | |
{ | |
llResetScript(); | |
} |