rlink
Usage
rlink <1|2> [target] The rlink command creates and removes exits between rooms. It can create
one-way or bidirectional exits, and can automatically create new rooms.
USAGE:
rlink connect 1 - Create one-way exit to existing room
rlink connect 2 - Create two-way exits to existing room
rlink connect 2 - Create new room and two-way exits
rlink disconnect 1 - Remove one-way exit from current room
rlink disconnect 2 - Remove two-way exits (both directions)
DIRECTIONS:
north, south, east, west, up, down (or first letter: n, s, e, w, u, d)
CONNECT OPTIONS:
Type 1 (One-way) - Creates exit from current room to target only
Type 2 (Two-way) - Creates exits in both directions (bidirectional)
AUTO-CREATE NEW ROOM:
When using connect 2 without a target vnum, rlink will:
- Find the first available vnum in the current zone
- Create a new room copying current room's properties
- Create bidirectional exits between the rooms
- Automatically save both rooms
IMPORTANT NOTES:
- Cannot overwrite existing exits - must disconnect first
- Auto-created rooms copy: name, description, sector, flags, gravity
- Permission required for both zones when using type 2
- Both zones are automatically marked for saving
- Zone must have available vnums for auto-room creation
EXAMPLES:
rlink north connect 2 1234 - Two-way exit north to room 1234
rlink south connect 2 - Create new room south with two-way exits
rlink east connect 1 5678 - One-way exit east to room 5678
rlink north disconnect 2 - Remove both north/south exits
Nothing