prompt
Also found under: prompts, display, displays, hit-pnt-display
Usage: display display <number> prompt prompt <text>
Your prompt is the line shown each time the game waits for you to type.
display on its own lists the ready-made prompts; display <number> picks one. display 1, for example, shows your hit points, mana and movement in color.
prompt on its own shows your current prompt. prompt <text> sets your own. Anything you type is shown as it is, except these codes:
%h %H hit points (current, maximum) %m %M mana (current, maximum) %v %V movement (current, maximum) %ph %pm %pv hit points, mana or movement as a percentage %x your experience %X experience still needed for your next level %g %G gold carried, gold in the bank %q quest points %o the enemy you are fighting, and its health %t who your enemy is fighting, if not you %_ start a new line %% a percent sign
A prompt with no % codes in it shows a reminder to use display instead.Color codes such as @c (cyan), @y (yellow) and @n (normal) work too.
Examples:
> display > display 1 > prompt %hhp %mmn %vmv > > prompt @c%h@n/%Hhp @c%v@nmv %o>