User Tools

Site Tools


help:prompt

Other: prompt

                                                                            
USAGE: prompt <new prompt>                                                  
       set prompt <new prompt>                                              
Changes your command prompt.                                                
                                                                            
Substitutions:                                                              
%N   Your name                                                             
%h   Your current Hit Points                                               
%H   Your max Hit Points                                                   
%c   Your current Command Points                                           
%C   Your max Command Points                                               
%HP  Your current Hit Points percentage                                    
%CP  Your current Command Points percentage                                
%E   Your experience                                                       
%G   Your guild                                                            
                                                                            
%M   Your money                                                            
%m   Your money in the bank                                                
                                                                            
%T   Your local time                                                       
%D   The date                                                              
%Y   The year                                                              
                                                                            
%P   Your possessive string (his/her/its)                                  
%p   Your pronoun string (he/she/it)                                       
%o   Your objective string (him/her/it)                                    
%g   Your gender string (male/female/neutral)                              
                                                                            
%R   The room's short description                                          
%X   The exits in the room you're in (may not work for all rooms)          
                                                                            
%s   Insert a space (ie: at end of prompt string)                          
\n   Insert a carriage return                                              
                                                                            
Wizards substitutions:                                                      
%WD  Current working directory                                             
%wd  Current working directory (tidy'ed)                                   
                                                                            
Colors Substitutions:                                                       
OFF, BOLD, UNDERL, INVERSE, BLINK, RED, GREEN, BLUE, BROWN, PINK, MAGENTA,  
CYAN, WHITE (add $ infront of the colors!)                                  
Don't forget to add OFF (with $ infront of it) in the end of your prompt    
if you are using ansi colors.                                               
                                                                            
To reset your prompt to the default, type 'unset prompt'                    
                                                                            
Example:                                                                    
prompt %h/%H %c/%C >                                                        
                                                                            
help/prompt.txt · Last modified: 2019/01/28 00:29 (external edit)