Hello! I'm new to both mudlet and lua, so please bare with me. I've been reading through
http://wiki.mudlet.org/w/Manual:Geyser toying around with the provided examples. What I want is my hud/monitor info Hp: 9116(9116) Gp: 4620(4620) locked at the bottom right above input line.
This is what my code looks like:
Pattern: ^Hp: (pearl regex)
selectCurrentLine()
copy()
appendBuffer("hudlabel")
deleteLine()
And:
setBorderBottom(30)
hudlabel = Geyser.MiniConsole:new({
name = "hudlabel",
x = "0", y = "98%",
width="50%", height="2%",
fgColor = "black",
color = "black",
})
Everything is being copied down fine to the MiniConsole, including colours. But somehow the text that's displayed gets a size of probably 8 compared 11 that I use in the main window. I've tried adding various fontsize lines but no luck:( I've used MiniConsole instead of labels since it supposedly handles raw text better, but I'm not sure what I'm doing wrong.