%viewMobileList()

Aliases%viewMobileList( )
Parametersmobile @viewer, mixed @targets [, string @flag1 [, string @flag2 [, ...]]]]

    This function will render the output that @viewer would see when viewing a
room if that room contained the mobiles in @targets. The @targets parameter
should be an array of mobile text pointers or a single text pointer. The
following flags can optionally be specified either as one of the @flag
parameters or as an array whose values are the flag names or as a
combination of both techniques.

skipStacking
fireTriggers

It is likely that for most use cases that you won't need to set any flags
since the defaults have been arranged for the most common purposes.

Example:

@targets = %world()->pcs

@view = %viewMobileList( @actor, @targets )
%echoTo( @view, @actor )

See Also: View Functions Flags