void main()
{
    object oPC = GetLastDisturbed();

    object oItem = GetFirstItemInInventory(OBJECT_SELF);

    while (GetIsObjectValid(oItem))
    {
        if (GetBaseItemType(oItem) == BASE_ITEM_LARGEBOX)
                {
                string sName = GetName(oItem);
                SendMessageToPC(oPC, sName + " or other container objects can not be saved with persistant chest inventory.");
                return;
                }

     oItem = GetNextItemInInventory(OBJECT_SELF);
     }
}
