Difference between revisions of "Prompt"

From StickMUD
Jump to navigation Jump to search
m (Added tags <percenthp>, <percentsp>, and <percentfp>.)
 
Line 19: Line 19:
 
|<code>prompt</code> clear
 
|<code>prompt</code> clear
 
|Clears the the prompt setting. Does not effect the iacga code.
 
|Clears the the prompt setting. Does not effect the iacga code.
 +
|-
 +
|<code>prompt</code> accessible
 +
|Sets accessible game prompt to '<code>Hit Points % Spell Points % Fatigue Points %</code> ' for visual impaired players.
 
|-
 
|-
 
|<code>prompt</code> reset
 
|<code>prompt</code> reset
Line 33: Line 36:
 
|<code><maxhp></code>
 
|<code><maxhp></code>
 
|Show max [[HP]].
 
|Show max [[HP]].
 +
|-
 +
|<code><percenthp></code>
 +
|Show current HP percent.
 
|-
 
|-
 
|<code><sp></code>
 
|<code><sp></code>
Line 39: Line 45:
 
|<code><maxsp></code>
 
|<code><maxsp></code>
 
|Show max [[SP]].
 
|Show max [[SP]].
 +
|-
 +
|<code><percentsp></code>
 +
|Show current SP percent.
 
|-
 
|-
 
|<code><fp></code>
 
|<code><fp></code>
Line 45: Line 54:
 
|<code><maxfp></code>
 
|<code><maxfp></code>
 
|Show max [[FP]].
 
|Show max [[FP]].
 +
|-
 +
|<code><percentfp></code>
 +
|Show current FP percent.
 
|-
 
|-
 
|<code><nowiki><time></nowiki></code>
 
|<code><nowiki><time></nowiki></code>
Line 80: Line 92:
 
  > prompt text [<localtime>|HP <hp>/<maxhp>|SP <sp>/<maxsp>|FP <fp>/<maxfp>]
 
  > prompt text [<localtime>|HP <hp>/<maxhp>|SP <sp>/<maxsp>|FP <fp>/<maxfp>]
 
  [1:30 PM|HP 50/100|SP 75/100|FP 100/100]
 
  [1:30 PM|HP 50/100|SP 75/100|FP 100/100]
 +
> prompt text [<localtime> Health <percenthp>% Mana <percentsp>% Movement <percentfp>%]
 +
[1:30 PM Health 50% Mana 75% Movement 100%]
  
 
==See Also==
 
==See Also==
[[set]], and [[timezones]]
+
[[report]], [[reporter]], [[set]], and [[timezones]]

Latest revision as of 14:35, 26 June 2022

prompt - Customize the prompt.

Description

The prompt lets one know that the game is ready to accept new input. This command enables controls of the prompt so that it may be customized to deliver more (or less) information to enhance the gaming experience. Several tags are available that will provide key data elements on time of day and character vitals that could keep you informed which are described below. Additionally, this game may send a telnet GO AHEAD code, which will help some game clients, like Mudlet, more efficiently process how fluidly game content is presented with the iacga controls.

Syntax
Name Description
prompt Display current prompt settings.
prompt text <text> Customize game prompt to <text>. One may include any of the pre-defined prompt tags listed below.
prompt iacga [on | off] Display, enable or disable the iacga (go ahead) code setting.
prompt clear Clears the the prompt setting. Does not effect the iacga code.
prompt accessible Sets accessible game prompt to 'Hit Points % Spell Points % Fatigue Points % ' for visual impaired players.
prompt reset Reset the prompt to the default '> ' and disables sending iacga code.
Tags
Name Function
<hp> Show current HP.
<maxhp> Show max HP.
<percenthp> Show current HP percent.
<sp> Show current SP.
<maxsp> Show max SP.
<percentsp> Show current SP percent.
<fp> Show current FP.
<maxfp> Show max FP.
<percentfp> Show current FP percent.
<time> Show the game's actual time.
<time24> Show the game's actual time in 24 hour format.
<tz> Show the game's timezone code.
<localtime> Show the timezone based on the player's setting.
<localtime24> Show the timezone based on the player's setting in 24 hour format.
<localtz> Show the player's set timezone code.
<wimpy> Show the player's wimpy % to auto flee or brave mode.
<enemy> Show the player's primary enemy's name while engaged in active combat.
<enemyhealth> Show the player's primary enemy's health while engaged in active combat (does not display for the undead).
<path> Show the coder's current working directory (for coders only).

Examples

> prompt text [<localtime>|HP <hp>/<maxhp>|SP <sp>/<maxsp>|FP <fp>/<maxfp>]
[1:30 PM|HP 50/100|SP 75/100|FP 100/100]
> prompt text [<localtime> Health <percenthp>% Mana <percentsp>% Movement <percentfp>%]
[1:30 PM Health 50% Mana 75% Movement 100%]

See Also

report, reporter, set, and timezones