I can't get them to work. It doesn't do anything/catch MXP tags. I tried the following functions on my server as well as the Two Towers MUD, and none of them catch anything. Both servers implement MXP, which is not activated through a protocol handshake but with CTRL + ALT + U and "Yes - Always" so that might be the issue(?) I also reduced the world window to see if there wasn't a "Notepad" screen undernearth.
function OnMXPEndTag (name, text)
AppendToNotepad ("MXP", "Closing tag: " .. name .. "\n")
AppendToNotepad ("MXP", "Text: " .. text .. "\n")
end -- functionfunction OnMXPEndTag (name, text)
Note("test")
end -- functionfunction OnMXPerror (level, number, line, message)
if level == "E" and number ~= 1030 then
ColourNote ("white", "red", level .. "(" .. number .. "): " message)
end if
-- do not display entities received (eg. < )
if number == 20001 then
return 1
end -- if
return 0
end -- function