goto

Aliases: move

goto <exit>

The goto command sends you through a particular exit in the room, or triggers the action with that name.

Usage:

goto <exit>

<exit> - name of the exit to move through

Description:

The goto/move command moves you through a particular exit that is in the room with you.

Technically, this command triggers the action with the name you pass to it. It will trigger any action, not just exits.

Example:

goto hallway

You head north, in to the hallway.

Results:

The goto command will cause the @succ/@osucc or @fail/@ofail messages for the desired exit, depending on it's @lock, or a message stating that you can't go that way.

Errors:

You can't go that way!
This message displays when you try and go a direction that dosen't exist, or that you cannot use because it has been locked with the @lock command. If the trigger has had messages set with the @fail or @ofail commands, those message will be used instead of the one listed here.

I don't know which way you mean!
This message is displayed if you give an exit that could match more than one in the room with you.

See Also:

None.

Status:

5: Documented

Contributed by:

server built-in

Last edited by loki@rdwarf.com on Wed Oct 10 16:34:55 2001.

Created by loki@rdwarf.com on Sun Jun 18 10:57:21 2000