fixup! Add MSDP status bar and protocol negotiation to mud.tin
This commit is contained in:
parent
5c9c90c990
commit
034e137d22
1 changed files with 5 additions and 5 deletions
10
mud.tin
10
mud.tin
|
|
@ -12,11 +12,11 @@
|
|||
#EVENT {IAC WILL GMCP} {#send {\xFF\xFD\xC9}}
|
||||
#EVENT {IAC WILL MSDP} {#send {\xFF\xFD\x45}}
|
||||
|
||||
#NOP store incoming MSDP variables
|
||||
#EVENT {IAC SB MSDP} {#variable {MSDP_%0} {%1}}
|
||||
|
||||
#NOP status bar: HP and stamina from MSDP
|
||||
#status {[HP: $MSDP_HEALTH/$MSDP_HEALTH_MAX] [ST: $MSDP_STAMINA/$MSDP_STAMINA_MAX]}
|
||||
#NOP store MSDP variables and update status bar
|
||||
#EVENT {IAC SB MSDP} {
|
||||
#variable {MSDP_%0} {%1};
|
||||
#showme {[HP: $MSDP_HEALTH/$MSDP_HEALTH_MAX] [ST: $MSDP_STAMINA/$MSDP_STAMINA_MAX]} {-2}
|
||||
}
|
||||
|
||||
#NOP reconnect after disconnect. defined before #session so it
|
||||
#NOP persists in the startup session when the mud session dies.
|
||||
|
|
|
|||
Loading…
Reference in a new issue