Command: fprompt
Handler: do_fprompt
Min level: 2
Min posn: any (dead)
Log: normal
Syntax: prompt <string>
Syntax: fprompt <string>
Sets your prompt to a given string. The game automatically sets your prompt
when your character is created, but you can use PROMPT to change your prompt
to more to your liking. If you type 'default' as the string, your prompt
will be set back to the game default.
The fprompt sets your fighting prompt. This is the prompt that is displayed
to you while you are fighting. It follows the same format as the normal
prompt does.
Your prompt can be any string of characters that you wish. You can also embed
special characters and tokens into the string that you set. These special
characters are linked with specific groups of tokens. These tokens will add
specific sets of information to your prompt.
The first special character is: %
Tokens for % are:
%h - current hitpoints %m - current mana (0 for vamp)
%H - maximum hitpoints %M - maximum mana (0 for vamp)
%b - current blood (0 for non-vamp) %v - current movement
%B - maximum blood (0 for non-vamp) %V - maximum movement
%g - gold held %x - current experience
%a - your alignment %X - experience needed to next level
%A - invisible/hide/sneak indicator %S - your current combat style
The other special characters are:
&& - Foreground color ^^ - Background color
Examples (assuming current hit points of 43, mana of 23, and movement of 120):
Prompt %h%m%v = 4323120
Prompt <%h|%m|%v>>> = <43|23|120>>>
Prompt %h %m %v = 43 23 120
Please see HELP PCOLORS for a list of the color tokens. If you are immortal,
there are separate prompt options for your use. See HELP IMMPROMPT.
Add comments here ...
See: http://www.gammon.com.au/forum/bbshowpost.php?wiki=pcolors and http://www.gammon.com.au/forum/bbshowpost.php?wiki=prompt