First, you should know some fundamental terms:
Actions are sequences of keypresses that the game can recognise. They can't be recorded by the game, but must be input manually.
Macros and keymaps map a keypress to an action. They can be used to customise the keyboard, reduce typing, and speed up game play. Macros must be used when the trigger key doesn't have a system-independent representation. Keymap actions can only contain underlying commands. [[[[[BMost customisation should be done with keymaps instead of macros when] [[[[[Bthere is a choice.]
Inscriptions are "markings" which you can put on any game item. One use is to label items in a way that doesn't depend on inventory position. Another allows verifying the selection of an item. Under the right conditions they can save your life.
ToME Wiki