%viewExtraDescription()

Aliases%viewExtraDescription( )
Parametersmobile @viewer, extra @target [, string @flag1 [, string @flag2 [, ...]]]]

    This function will render the output that @viewer would see when viewing
@target. 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.

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:

@extra = %arrayShuffle( @item->extras )->1
@janitor = %getNpcPtr( janitor )

@view = %viewExtraDescription( @janitor, @extra )
%echoTo( @view, @self )

See Also: View Functions Flags