i = 0
local char_count
for obj in thisobj
{
if children(obj) and obj is not hidden and
(obj is not already_listed or
thisobj ~= location) and not ClothingCheck(obj)
char_count++
if char_count = 2
break
}
for obj in thisobj
{
if children(obj) and obj is not hidden and
(obj is not already_listed or
thisobj ~= location) and not ClothingCheck(obj)
{
if FORMAT & TEMPLIST_F
{
FORMAT = FORMAT | LIST_F & ~TEMPLIST_F
i = true
print newline
}
if count > 1 and obj.type = character
{
FORMAT = FORMAT | USECHARNAMES_F
if char_count = 2
{
print newline
override_indent = false
}
}
templist_count = list_count
WhatsIn(obj)
list_count = templist_count
}
}