-
Notifications
You must be signed in to change notification settings - Fork 0
@dig
@dig
command: @dig[/<switches>] <name> [= <exitlist> [, <exitlist>] ]
creates a new room with the specified name and displays its number. this command costs 10 coins. if the [= <exitlist>] option is used, an exit will be opened from the current room to the new room automatically. if the second <exitlist> option (after the comma) is specified, an exit from the new room back to the current room with the specified [exits] name is opened. either exit creation may fail if you do not have sufficient rights to the current room to open or link the new exit. example: the command
@dig kitchen = kitchen;k;north;n,south;s
will dig a room called kitchen, and open an exit called 'kitchen' in your current room. the ; symbol means that you may enter the exit by typing 'k', 'north' or 'n' also. this command also opens the exit 'south;s' from 'kitchen' back to where you are. only the first exit name is displayed in the obvious exits list.
if you specify the /teleport switch, then you are @teleported to the room after it is created and any exits are opened.
related topics: @destroy, @link, @open, linking, object types.