%containerGetStat()

Aliases%containerGetStat( )
Parametersobject @entity, string @statName

    Returns the value for a given @statName that belongs to the @entity
container object. The @entity may be an object pointer or object keyword.
The @statName may be any one of the following:

maxCapacity
usedCapacity
canClose
isCloseable
isClosed
hasLock
isLocked
isPickproof
isFreeStorage
isInverted
keys
pickResilience
forceResilience

Example:

if( !%containerGetStat( @o, isClosed ) )
{
%echoTo( "It's not even closed!", @n )
}
endif