Help/Promptcolors

From DikuMUD Wiki
Revision as of 01:34, 15 November 2020 by Papi (talk | contribs) (Created page with "= Prompt = Usage: prompt <blank|default|string> Examples: {prompt blank} {prompt default} {prompt %hp%>} To make a custom prompt simply type the word PROMPT and fol...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Prompt

Usage:

 prompt <blank|default|string>

Examples:

 {prompt blank}
 {prompt default}
 {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, see the help at the end of the prompt variables for this.

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
  • %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

  • %zone% - The zone idx you are in
  • %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}