Skip to main content

GetRoomByName

Returns a reference to a room which has the provided name.

Syntax​

GetRoomByName room_name

Returns​

reference to Room object

Arguments​

NameRequiredTypeDescription
room nameYesRoomName enum value - found using 'serhelp RoomName' command

Details​

If more than one room matches the provided name, a random room will be returned.

On a running server​

Use serhelp GetRoomByName to inspect the reference generated by your installed SER version.