Site hosted by Angelfire.com: Build your free website today!

Home Contents Back Forward Glossary Index
Home Contents Back Forward Glossary Index

The Command Line

The Command Line accepts commands to the connected MUD and to MUD Mage. It is the most important feature in any MUD client and must be the most user-friendly. The command line in MUD Mage is separated from the rest of the MUD text so that it remains in view of the player at all times.

General Usage
The Command Line will remember previous commands. The maximum number of commands is defined in the General Setup. Press the Up and Down arrow keys to look through the list of retained commands.

Individual commands may be separated by a semicolon (;). For example, "murder Alfred" and "trip" may be combined in one command: "murder Alfred;trip". A semicolon may be sent to the MUD if two are used instead of one: "say Hi;; my name is Dirk!".

For simplicity and speed, the Command Line will accept 255 characters.

MUD Mage Commands
MUD Mage currently supports a limited number of powerful commands. MUD Mage will recognize a command if the first character is a pound sign (#). Double quotes (") or single quotes (') may be placed around parameters.

#alias <alias keyword> <replace with command>
Sets a new alias or modifies an old alias from the Command Line.
#aliasoff
Disables all aliases. This is the same as the menu version.
#aliason
Enables all aliases. This is the same as the menu version.
#delay <time> <trigger keyword>
Creates a trigger timer. The trigger defined with "trigger keyword" will activate in time seconds. Only positive whole numbers may represent time.
#do <command>
Performs command. This is useful in "#if" commands.
#if <condition> then <command> else <other command>
Provides decision making capability. Read it as follows:
If some condition is true, then do some command, else do some other command.

The condition can include any number or string in quotes (" or ') and may include the trigger parameters (%0 through %9).

Example of Using the #IF Command
Trigger Keyword You say '%%'
Command on Sight #if (%0 = 'heh' or %0 = 'hah') then laugh else grin
Sample MUD Text You say 'Oh boy'
MUD Mage's Sample Response grin
#play <media file>
Play any media file your Windows supports. The full path and file name of a media file to be played is media file.
#triggeroff
Disables all triggers. This is the same as the menu version.
#triggeron
Enables all triggers. This is the same as the menu version.