From 034e137d22507108a306a3028844a1c862b9036a Mon Sep 17 00:00:00 2001 From: Jared Miller Date: Thu, 12 Feb 2026 00:16:41 -0500 Subject: [PATCH] fixup! Add MSDP status bar and protocol negotiation to mud.tin --- mud.tin | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mud.tin b/mud.tin index e318afc..cbfe9b6 100644 --- a/mud.tin +++ b/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.