Apologies if this has been answered somewhere. It seems like something that should be straightforward, but I'm not finding anything in my searches and reading. I have several docked windows. When I start Mudlet, I have to manually resize them by grabbing the handles and adjusting the height and widt...
I am using string.cut and it is struggling when the string contains special characters. Many of the string functions have UTF8 versions (like string.len and utf8.len), but I don't see anything similar of .cut. Any advice on the best way to handle UTF8 chars with string.cut?
@Dominic two questions that I don't see in the MDK wiki 1. can you remove rows from a table or would you just create a new table without that row and redraw the whole thing. 2. can a single element in the table be independently formatted or is it only by column? I need to format certain fields based...
@Vadi, that was my fallback plan. I am using GMCP, and I get a GMCP.Room.Char.Upate event that only contains the updated information, so I was hoping to be surgical, and just replace those few (often one) values, but if I have to redraw the whole table, so be it. I didn't really think there would be...
The TableMaker in MDK looks quite interesting. I would need to change my strategy a bit, but it looks like there is a good bit of flexibility. I'll tinker with that a bit.
Yeah, I realized later last night after I posted this that the example is a much simplified one from what I actually need. I created it to reduce the variables while I figured out the solution. What this is for is for a list of mobs in a room. Sometimes the whole table will be replaced (i.e. enterin...
I have the following code that generates tabular output in a user window. function WindowUpdate() roomWindow:clear() echo("roomWindow", "1234567890123456789012345678901234\n") echo("roomWindow", "Fruit Color Size Price\n") echo("roomWindow", "Ap...