#hotkey

Syntax: #hokey {key name} {string to be typed}

This command defines a new hotkey or redefines an existing hotkey. When you press this key on your keyboard the second parameter will be parsed into JMC, as if it been typed in the editline of JMC. This allows the use of variables, aliases, and the like.

Keyname syntax:

[shift+][ctrl+][alt+][key name]

Keyname can be a character, digit or special key string.

Special key strings:

BACK

Backspace key

TAB

Tab key

ENTER

Enter

ESC

Escape

SP

Space bar

PGUP

Page up

PGDN

Page down

END

End key

HOME

Home key

LEFT

Left arrow

UP

Up arrow

RIGHT

Right arrow

DOWN

Down arrow

INS

Insert key

DEL

Delete key

NUM0-NUM9

Digits on the extended keyboard (number pad)

MIN

- on extended keyboard

MUL

* on extended keyboard

ADD

+ on extended keyboard

DIV

Divide on extended keyboard

NUMDEL

DEL on extended keyboard

RETURN

Enter on extended keyboard

: = , - . / ` [ \\ ] ‘

Same keys on keyboard

F1-F12

F keys

Example:

#hotkey Ctrl+z {#zap}

#hotkey {alt+c} {#connect mud.arctic.org 2700}

#hotkey f1 flee

#hotkey ctrl+f5 rescue Lesath