%viewRoomTitle()

Aliases%viewRoomTitle( )
Parametersmobile @viewer, room @target [, string @flag1 [, string @flag2 [, ...]]]]

    This function will render the title that @viewer would see when looking in
@target room. 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:

@target = 115611
@janitor = %getNpcPtr( janitor )

@view = %viewRoomTitle( @janitor, @target )
%echoTo( @view, @self )

See Also: View Functions Flags