
|
|
So what if you want to add a new room to your new apartment? You have a living room, but now you want a bedroom. Well get inside that living room and use the @dig command.
The name of your new room is <room>. So do create that bedroom, type:
You will be notified of the database number of your room after you create it.
That is important to remember. That's because you have a room without a way to get in, or a way to get out. To open an exit leading in, use the @open command.
In this command, <exit> is the name of the exit. You can have an alternate name for that exit, which is <alias>. A player will move through the exit by typing either the exit name or the alias. As a matter of fact, an exit can have many aliases. So, we could create a door to the bedroom by typing:
If you look now, you might see:
Alright, let's go into the bedroom.
As you notice, there is no exit out back to your living room. So you have to create it with the @open command.
Notice how, in the above example, that the exit has a lot of aliases for out? You should always build your places so that if anyone ever gets lost, that person can simply type "out" or obvious variations until that person gets out of the place. It's a good building practice. There is an easier way to do everything that has been described so far on this page. A room, an exit in, and an exit out, can all be created with one command. This is done in the format:
Notice carefully that the two exits are separated by a comma (whereas exit name and aliases are separated by semi-colons). So, to create that bedroom with exits in and out, you could have:
You can change the room to which an exit leads with the @link command. The format is:
So if you created another room, with database number #1198, and you want the bedroom door to lead to that new room, you would type:
It is possible to pick up exits with the get command and put them down with the drop command. One reason that you may want to do this is to arrange the order of the exits in your room as they appear on the list of Obvious Exits. Drop them in order of last to first. You can also take an exit and drop it in a different room, but only if you own the room. |
shambala@mudshell.com
Last updated: August 8, 2003