Prompt: Difference between revisions

No edit summary
No edit summary
Line 15: Line 15:


         %% :  Display the % character  
         %% :  Display the % character  
         %h :  Display your current hits
         %h :  Display your current [[hp|hits]]
         %H :  Display your maximum hits
         %H :  Display your maximum [[hp|hits]]
         %m :  Display your current mana
         %m :  Display your current [[mana]]
         %M :  Display your maximum mana
         %M :  Display your maximum [[mana]]
         %v :  Display your current moves
         %v :  Display your current [[movement|moves]]
         %V :  Display your maximum moves
         %V :  Display your maximum [[movement|moves]]
         %x :  Display your current experience
         %x :  Display your current experience
         %X :  Display experience to level
         %X :  Display experience to level

Revision as of 09:47, 11 March 2026

Your prompt is the statistics that will be displayed every round of combat and after you perform various actions in the world. By default it will display your health, mana, and movement points.

Your prompt can be customized with a wide variety of statistics and information depending on your needs, and a default prompt can bet set to be applied to all characters on an account at creation. Prompts can also be colorized for ease of use.

Syntax: prompt Syntax: prompt all Syntax: prompt <%*> Syntax: defaultprompt <%*>

PROMPT with out an argument will turn your prompt on or off.

PROMPT ALL will give you the standard "<hits mana moves>" prompt.

PROMPT <%*> where the %* are the various variables you may set yourself.

       %% :  Display the % character 
       %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
       %x :  Display your current experience
       %X :  Display experience to level
       %p :  Display your current exploration points
       %P :  Display exploration points required
       %a :  Display your alignment
       %r :  Display the room name you are in
       %l :  Display current language spoken
       %t :  Display current gametime in hh:mm format
       %e :  Display the exits from the room in NESWDU style
       %c :  Display a carriage return (useful for multi-line prompts)
       %s :  Display your current position
       %T :  Display the terrain of the room you are in.
       %d :  Display the light/dark status of the room you are in.
       %Y :  Display the current number of charges of a swordmaster's Sasem technique


Example: PROMPT <%hhp %mm %vmv> Will set your prompt to "<10hp 100m 100mv>"

DEFAULTPROMPT <%*> will set a prompt that all new characters created on the same account will use.

Prompts may be colorized using the codes contained in help EXCOLOUR.