Register to post in forums, or Log in to your existing account
 

 Related 
Contents
See also:
  Introduction to Paths
  Editing Paths
Feature Reference
  Aliases
  Macros
  Variables
  Functions
  Classes
  Triggers
  Buttons
  Gauges
  Paths
    Directions
  Menus
  Events
  Modules
  Windows
  Packages
  Shared Package Library
  Package Editor
  Docked Windows
  Customizeable Toolbars
  Sessions
  Expressions
  Automapper Module
  Database Module
  Syntax Checking
  Tab Completion
  Status items
  Preferences
  Simutronics Support
  Pueblo Emulation
  Keyboard shortcuts
  MXP
  Threads
  ATCP
  Script Debugger
  Timestamps
  Lua Scripting
Related Links:
  #PATH
  #T+
  Terminology
  Feature Summary
Paths [[cmud_paths]] 
A Path is used to store a set of "speedwalk" directions used to move from one place to another on the MUD.

A shortcut syntax is used to specify direction commands to be sent to the MUD. This syntax is used in many different MUD clients and on many different MUDs.

For English MUDs, it's very simple and defined automatically for you in CMUD. Each direction (such as "north") has a single-letter shortcut (such as "n"). To send multiple directions to the MUD, start the command with the Movement Character, which defaults to the period (or dot). For example, to move North, then West, then South, you could type:

.nws

To move multiple spaces in the same direction, simple place the number of steps before the movement character. For example, to move 3 spaces north, then 2 spaces west, then one space south, you could type:

.3n2ws

You can specify up to 999 steps in a CMUD path.

To store these speedwalk directions into a Path, use the #PATH command:

#PATH goshop {.3n2ws}

Now, when you type .goshop on the command line, the .3n2ws speedwalk directions will be executed and sent to the MUD.

You can also create a Path within the Edit Paths screen of the Package Editor. On that screen you can click various direction buttons to add directions to the path.

For Non-English MUDs, a package to define the Directions used on the MUD must be used, or you can define your own Direction characters using the View/Directions menu.

You can embed normal commands within a speedwalk path by placing the commands within () parenthesis. For example, you might need to open a door before you can enter it. So, you would do something like this:

.3n2w(unlock door;open door)s

This would move you 3 spaces north, then 2 spaces west, then send the "unlock door" and "open door" commands, and then move you one space south.
Viewer Comments [0 - Post your comments]

Jump to:  

© 2009 Zugg Software. Hosted by Wolfpaw.net