tf-scripts/arkadia/gmcp.tf

8 lines
193 B
HCL

/test gmcp('Core.Supports.Set ["Core", "Char", "Room", "Objects"]')
/set _gmcp_echo=0
/def -hGMCP _gmcp_received = \
/if ({_gmcp_echo} =~ 1)\
/echo -p @{BCmagenta}GMCP: %{*}%;\
/endif