PROMPT
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) |
%y : Display common skill % progress | %Y : Display common skill time remaining |
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..
- or any other parameter per the STAT command
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^?>
This prompt is for use with a screen reader, with a double linebreak at the end of the prompt. Mana is optional, depending on if the character uses mana. Without the linebreaks, any command will have the prompt read both before the command's output and after.
- PROMPT %h %m %v %E %B %B
A complex, mulitline prompt with encumbrance, time, alignment and experience. This prompt is great for alignment-driven classes:
- PROMPT ^r%h/%Hhp^? ^g%m/%Mmp^? ^c%v/%Vmv^? %B %c/%C items %w/%W lbs %G %T o`clock %B %a align %X tolvl > %B %E
A prompt that will display your hitpoints, mana, movement, hunger, thirst, time, experience to next level, location, and the health of the current enemy.
- ^w<^r%h/%H ^N| ^b%m/%M ^N| ^g%v/%V^N | Hunger:^p%-HUNGER^N Thirst:^P%-THIRST^w>%B<^N%t | %X Exp Needed^w | ^N%z>%B^R%E^N
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.