ID:150051
 
A bonafide newbie, here. How does one go about creating code so that a player mob can transfer between areas in text-only games? Sorry if that doesn't sound very clear.

To clarify: if the player types in the verb "N", what is the proper code to make it so that they are transferred to the proper area which is designated north of the current room? Is there any proper way to do it? Thanks much!

Here is what there is so far:
world
mob = /mob/player

area/Newbies/Lobby
Entered()
oview() << "[src] enters the area."
usr << "Blah." // DESCRIPTION OF ROOM
sleep(10)
usr << "There is only one exit--to the north.
(Type \"N\" to go in that direction.)"

verb
N()
Enter(locate (/area/Newbies/Spaceport))
oview() << "[usr] exits the area."
src << "You go north."

The text commands under the verb "N" work, along with all of the code above the verb list. However, while it posts all of the text as it should, it does not actually move the source of the command to the new area. Is this possible to accomplish?
Instead of that enter I would put an actual location
In response to Super16
Ack. Nevermind, I understand now. Thanks!