Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ SMAUG
➜ Commands
➜ fprompt
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Tue 06 Jun 2006 06:06 AM (UTC) Amended on Wed 21 Jun 2006 10:50 PM (UTC) by Nick Gammon
|
| Message
| Command: fprompt
Handler: do_fprompt
Min level: 2
Min posn: any (dead)
Log: normal
Syntax: prompt <string>
Syntax: fprompt <string>
Sets your prompt to a given string. The game automatically sets your prompt
when your character is created, but you can use PROMPT to change your prompt
to more to your liking. If you type 'default' as the string, your prompt
will be set back to the game default.
The fprompt sets your fighting prompt. This is the prompt that is displayed
to you while you are fighting. It follows the same format as the normal
prompt does.
Your prompt can be any string of characters that you wish. You can also embed
special characters and tokens into the string that you set. These special
characters are linked with specific groups of tokens. These tokens will add
specific sets of information to your prompt.
The first special character is: %
Tokens for % are:
%h - current hitpoints %m - current mana (0 for vamp)
%H - maximum hitpoints %M - maximum mana (0 for vamp)
%b - current blood (0 for non-vamp) %v - current movement
%B - maximum blood (0 for non-vamp) %V - maximum movement
%g - gold held %x - current experience
%a - your alignment %X - experience needed to next level
%A - invisible/hide/sneak indicator %S - your current combat style
The other special characters are:
&& - Foreground color ^^ - Background color
Examples (assuming current hit points of 43, mana of 23, and movement of 120):
Prompt %h%m%v = 4323120
Prompt <%h|%m|%v>>> = <43|23|120>>>
Prompt %h %m %v = 43 23 120
Please see HELP PCOLORS for a list of the color tokens. If you are immortal,
there are separate prompt options for your use. See HELP IMMPROMPT.
Add comments here ...
See: http://www.gammon.com.au/forum/bbshowpost.php?wiki=pcolors and http://www.gammon.com.au/forum/bbshowpost.php?wiki=prompt
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
8,367 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top