Returns the name of the room or nil if the room is nameless.
This function does not generate a change.
room.name()
None
Returns the name of the room or nil
.
This code creates a room, gives the room a name and uses the name() function to return the name.
.room = room();
.room.set_name('my_room');
// Return the name
.room.name();
Return value in JSON format
"my_room"