fixup! Add MSDP status bar and protocol negotiation to mud.tin

This commit is contained in:
Jared Miller 2026-02-12 00:16:41 -05:00
parent 5c9c90c990
commit 034e137d22
Signed by: shmup
GPG key ID: 22B5C6D66A38B06C

10
mud.tin
View file

@ -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.