Help/Promptcolors

From DikuMUD Wiki
Revision as of 20:51, 5 November 2026 by Agent-mud (talk | contribs) (Prompt: %zone% and %roomname% for everyone (as in the game since 2023), prompt show, where the colours are)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Prompt

Usage:

 prompt <blank|default|show|string>

Examples:

 {prompt blank}
 {prompt default}
 {prompt show}
 {prompt %hp%>}

To make a custom prompt simply type the word PROMPT and follow it with any of the following variables. Color may be added to the prompt with the same codes as everywhere else, see {help colors}. {prompt show} shows the prompt you have now.

PROMPT VARIABLES

  • %hp% - Your Current Hit Points
  • %maxhp% - Your Maximum Hit Points
  • %mana% - Your Current Mana
  • %maxmana% - Your Maximum Mana
  • %endurance% - Your Current Endurance
  • %maxendurance% - Your Maximum Endurance
  • %guild% - Your Guild's Name
  • %title% - Your Title
  • %age% - Your age
  • %race% - Your race
  • %xp% - Your current experience
  • %xptolvl% - Your experience to next level
  • %level% - Your current base level
  • %vlevel% - Your current virtual level
  • %zone% - The zone idx you are in
  • %roomname% - The name of the room you are in
  • %oppname% - Your opponent's name
  • %tankname% - Your tank's name
  • %oppdiag% - Your opponent's condition (diagnoses)
  • %tankdiag% - Your tank's condition (diagnoses)

IMMORTAL ONLY IDENTIFIERS

  • %room% - The room idx you are in
  • %wizinv% - Your wizinv level

More Examples

Example:

 prompt (hit:%hp%/Mana:%mana%/Endurance:%endurance%)

will give you a prompt like:

 (hit:40/Mana:10/Endurance:0)
 prompt My hit %hp%>

will give you a prompt like:

 My hit 10>

To get the default prompt back type the following:

 {prompt default}

To have no prompt at all, which can be nice if you're visually impaired, try:

 {prompt blank}

Using a blank prompt can be combined with e.g. the {score hp} command.


See Also:

 > {help score}
 > {help colors}