Getting Information: PROMPT
prompt (string)
You can modify your prompt to show your hit points, movement points.
and an assortment of other nifty things.
(string) is a list of text you want in your prompt + embedded codes that are
substituted for various useful information.
Example:
: prompt Hp: %h/%H, Ma: %m/%M, Mo: %v/%V%nExp: %X, Gold %g, %G%n%o: %O%n:
would give you a prompt like:
Hp: 36/36, Ma: 105/105, Mo: 70/70
Exp: 1456, Gold 1350, 23451
nobody:
:
which when you are fighting becomes:
Hp: 32/36, Ma: 105/105, Mo: 61/70
Exp: 1425, Gold 1350, 23451
The Vampire Bat: pretty hurt
:
The %Codes Usable in Prompts:
- %h - current hit points
- %H - maxium hit points
- %v - current movement points
- %V - maxium movement points
- %g - number of coins you are carrying
- %G - number of coins you have in the bank
- %x - current experience
- %X - needed experience to get to the next level
- %o - oponent's name
- %O - opponents condition
- %a - alignment
- %r - room name
- %R - room number (Immorts only)
- %n - newline (\n\r)
- %% - a % sign
- %l - Leader's name
- %L - Leader's percentage of max hit points
- %i - *invis* (if you are invisible)
- %f - *fly* (if you are flying)
- %w - *water* (if you have water breath)
ANSI color can also be used in prompts, see ANSI
for more information.
See also: DISPLAY and ANSI
Return to Archipelago Help System Index