%isRoomId()

Aliases%isRoomId( )
Parametersinteger @id

    Returns 1 if @id corresponds to a valid room description. This is useful
for checking to see if a given room exists before attempting to move
something into it via the %move() function or either the transfer or
npctrans functions. In most cases you won't need to do such a check, but
in rare instances when the area may not be loaded for the room, then this
will prevent an error being generated when the room can't be found.

Example:

if( %isRoomId( @someId ) )
{
%move( @actor, @roomId )
}
endif