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

 Related 
Contents
Changes for zMUD users
  Importing zMUD files
  New Features
  New Commands
  New Functions
  Compiled scripts
  [] and <> syntax removed
  %%1 syntax removed
  AND OR operators changed
  Class specifier changes
  #PRIORITY command
  Quotes around %1..%99
  #VAR command
  #MENU command
  64-bit integers
  #GALIAS and #GVAR
  %lastcom
  Expression optimization
  Aliases (Auto-append)
  atconnect alias replaced with Events
  #GAG in #ONINPUT trigger
  #T+ vs #CLASS
  Tab completion changes
  Multi-threaded #WAIT
  %btncol arguments reversed
  Multiplaying :window: syntax
  Start lines with commands
  #FUNCTION command
  Variable assignment syntax
Related Links:
  Editing Aliases
Aliases (Auto-append) [[cmud_autoappend]] 
In zMUD, any arguments to an alias were automatically appended to the text sent to the MUD if they were not used within the alias explicitly.

For example, in zMUD you could have an alias like this:
Code:
#alias k {kill}
k Zugg

which would send "kill Zugg" to then MUD.

In CMUD, you normally need to explicitly add any arguments you want to send to the MUD. For example, the above alias would be written as:
Code:
#alias k {kill %params}

where %params is the same as %-1 and appends all arguments to the text sent to the MUD.

CMUD has a backwards compatibility option called "Auto Append" that you can enable for your alias. This allows your alias in CMUD to work the way that it did in zMUD. This option is available from the Advanced Options panel in the Package Editor for your alias. It is also enabled by default for any aliases imported from a zMUD *.MUD file.
Viewer Comments [0 - Post your comments]

Jump to:  

© 2009 Zugg Software. Hosted by Wolfpaw.net