IMM_RMNAME

Keywords: IMM_RMNAME, WIZ_RMNAME, RMNAME

Category: Building

=== STAFF MANUAL === Usage: rmname <new room name> Description: Rename the room you are currently standing in without opening redit. The new name is taken straight from the rest of the command line and applied in place to the live RoomData. Use it when the only thing you need to change is the title of a room you are passing through -- a typo fix during a tour, a quick relabel during an event, or restoring a renamed room after a test. Behavior: The new name replaces room->Name on the current room. The input is normalized as follows before being assigned: Doubled dollars .. delete_doubledollar collapses any $$ sequences in the argument so they do not double-escape on display. Length cap ...... If the input is longer than MAX_ROOM_NAME, it is truncated to that length. The destination zone is marked dirty so the rename is written to the room's .wld file on the next OLC save pass. Output: On success the invoker sees: Room name set to: <new name> The action is logged to the staff wiznet at CMP severity: OLC: <name> renames room <vid> to '<new name>'. Restrictions: - Requires the OLC or MiniOLC staff permission and build access to the current room's zone -- the same permission gate as redit. - You must be standing in the room you want to rename. There is no VID argument; rmname always operates on the room you currently occupy. - If the room is open in an active redit session, rmname refuses with "This room is currently being edited by <name>." to avoid clobbering an in-flight edit. - An empty argument prints the usage line: "Syntax: rmname <new room name>". Notes: - rmname is a sibling of rmexit / dig: a small, single-purpose room edit that runs without spinning up the full editor. For anything beyond the title -- description, sector, flags -- use redit. - The change is applied to the live world immediately; players already in the room will see the new title on their next look. === END MANUAL ===