Prompt

From StickMUD
Revision as of 16:59, 24 April 2022 by Tamarindo (talk | contribs) (Prompt)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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> 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 reset Reset the prompt to the default '> ' and disables sending iacga code.
Tags
Name Function
<hp> Show current HP.
<maxhp> Show max HP.
<sp> Show current SP.
<maxsp> Show max SP.
<fp> Show current FP.
<maxfp> Show max FP.
<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 % 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]

See Also

set, and timezones