PROMPT

From CoffeeMud Wiki
Revision as of 13:39, 20 March 2017 by Loki (talk | contribs) (→‎Notes)
Jump to navigation Jump to search
CoffeeMUD
Administrator                                                  Builder                                                              Player
=CoffeeMUD Player Information=
Basics Info     Commands     Socials     Combat     Groups Character Stats     Races     Classes     Abilities     Expertises     Achievements
World Deities     Areas     Property     Quests     Clans     Triumphs Items Items     Crafting     Ships
=CoffeeMUD Commands=
Account        Character        Combat        Commerce        Communication        Configuration        Items        Movement        Role Play        Sailing Ships       
Special    A       B       C       D       E       F       G       H       I       J       K       L       M        N       O       P       Q       R        S       T        U       V       W       Y
===PROMPT===
Usage: PROMPT ("NEW PROMPT STRING")
Examples: prompt ^^N^^h%hhp ^^m%mm ^^v%vmv^^N>

prompt default

Shorts:
Description: Display or change your prompt string. Typing PROMPT DEFAULT will reset your prompt to the default setting. You can enter PROMPT ^^N to effectively turn "off" your prompt.

Valid embedded codes for custom prompts include:

Settings

%h : Display your current hits %H : Display your maximum hits
%m : Display your current mana %M : Display your maximum mana
%v : Display your current moves %V : Display your maximum moves
%p : Action points remaining/tick %P : Display maximum action pts
%x : Display your current experience %X : Display your needed experience
%g : Display the value of your money %G : Display amount/name of money
%a : Display alignment in numbers %A : Display your alignment as text
%w : Display your weight encumbrance %W : Display max carryable weight
%c : Display item encumbrance %C : Display max carryable items
%e : Display person under attack %E : Display attacked persons state
%t : Display the time of day %T : Display the hour of the day
%Kh: Display the tanks current hits %KH: Display the tanks maximum hits
%Km: Display the tanks current mana %KM: Display the tanks maximum mana
%Kv: Display the tanks current moves %KV: Display the tanks maximum moves
%Ke: Display the tanks name %KE: Display the tanks health
%I : Display hidden/invis. status %@ : Display the weather here
%d : Display the range to your victim %D : Display ammo remaining
%B : Go to a new line %z : Display current area name
%r : Display name of the room %R : Display room number (ADMIN ONLY)

MISC: %-STAT NAME : Replace STAT NAME is one of the following:

  • STRENGTH, INTELLIGENCE, WISDOM, etc..
  • MAX STRENGTH, MAX INTELLIGENCE, MAX WISDOM, etc..
  • BASE STRENGTH, BASE INTELLIGENCE, BASE WISDOM, etc..
  • ATTACK, ARMOR, WEIGHT, HEIGHT, LEVEL, HITS, MANA, MOVE, HUNGER, THIRST, FATIGUE
  • HEAD, NECK, TORSO, ARMS, LEFT WRIST, WIELD, EYES, etc..

Colors

^h : Standard hit point color ^m : Standard mana color
^v : Standard movement color ^N : Normal color
^w : White ^W : Grey
^g : Light green ^G : Dark Green
^b : Light blue ^B : Dark Blue
^r : Light red ^R : Maroon
^y : Yellow ^Y : Dark yellow
^c : Cyan ^C : Dark Cyan
^p : Light purple ^P : Dark Purple
^? : Previous color/End color

Sample Prompts

Default prompt

  • PROMPT %E%B <%hHp %mM %vmv>

A relatively simple prompt that also displays xp and enemy condition.

  • PROMPT %h/%Hhp %m/%Mm %v/%Vmv %x/%Xxp %e - %E

A prompt with no data (good for non-combat characters or screen readers)

  • PROMPT ^N

This is the prompt delevoped for bardic characters. It displays the current attack state of the player at the beginning and the room name at the end which is useful for exploring (which is a big deal to bards and their sub classes) The colors picked highlight well (ie: bright red and cyan).

  • PROMPT %E%B^W<^rHP:^c%h/%H ^rMA:^c%m/%M ^rMV:^c%v/%V ^rXP:^c%x/%X ^r%z^W>

A prompt useful for keeping characters separate by adding their name at the beginning of the prompt. It also displays the health of the current enemy on the first line, and contains other useful information with different colors to easily pick out the difference of each stat versus it`s maximum, including experience needed until next level.

  • PROMPT %E%B MYNAME <^c%h^?/%H ^b%m^?/%M ^g%v^?/%V ^p%X^?>

Notes

If you have edited your prompt and wonder why the enemy health information is no longer displayed, it is due to the %E%B at the beginning of the factory prompt.