All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class key.commands.Alias

java.lang.Object
   |
   +----key.Atom
           |
           +----key.Command
                   |
                   +----key.commands.Alias

public class Alias
extends Command
This command implements *basic* alias handling. Ultimately I'd like shell style substitution, with %1, %2 and all of those handled correctly to remap badly placed words and so forth.

Maybe consider command combinations, too? Or the ability to put inline \n's somehow...

Going any *further* than that very basic, simple script requires java code, of course.


Variable Index

 o commandProperty

Constructor Index

 o Alias()

Method Index

 o run(Player, StringTokenizer, String, ModalCommand, InteractiveConnection, Flags)
If this method is not overridden, it calls the others.

Variables

 o commandProperty
 protected DataProperty commandProperty

Constructors

 o Alias
 public Alias()

Methods

 o run
 public void run(Player p,
                 StringTokenizer args,
                 String fullLine,
                 ModalCommand caller,
                 InteractiveConnection ic,
                 Flags flags) throws IOException
If this method is not overridden, it calls the others.

Overrides:
run in class Command

All Packages  Class Hierarchy  This Package  Previous  Next  Index