PROMPT

From CoffeeMud Wiki
Revision as of 18:36, 19 March 2017 by Loki (talk | contribs)
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 <%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

Notes

.