// This script will destroy any item placed inside of the trash barrel. // Place OnClosed of placeable. // Created by Zunath on August 12, 2007 void main() { object oItem = GetFirstItemInInventory(OBJECT_SELF); while (GetIsObjectValid(oItem)) { DestroyObject(oItem); oItem = GetNextItemInInventory(OBJECT_SELF); } }