LSL でオブジェクト内にあるファイル一覧を取得する関数。
list getInventoryList () {
list a = [];
integer n = llGetInventoryNumber(INVENTORY_ALL);
integer i = 0;
do {
a += llGetInventoryName(INVENTORY_ALL,i);
// llSay(0,(string)i + " => " + llList2String(a,i));
} while (++i < n);
return a;
}