Prompt
From t2twiki
A prompt is what one sees after every inputted command.
The default prompt looks like this:
HP:50 EP:50>
[edit] MUD Definition
From "help prompt":
You can configure your prompt to say anything you want it to by typing 'set prompt <whatever>'. There are a couple of built in things you can put in your prompt:
set prompt to what it does
------------- ------------
$HE - gives you your hit points and
endurance points like: HP: 50 EP: 50.
$HP - gives you your hit points only.
$EP - gives you your endurance points only.
$# - gives you a counter of the number of
commands you have entered.
$X - shows you the region you are in.
You can put these things anywhere in your prompt, and you can add any text you want to also, but long prompts tend to get annoying.
Note that you cannot use $HE -and- $HP or $EP. You must either use $HE or $HP / $EP.
Note that the built in prompt settings are case sensitive, so for example, to display a prompt like:
~ HP:50 EP:50>
you would type "set prompt $HE>".
You can also include '\n' in your prompt, which will be interpreted as a newline character when printed.
