Hi,
I have two questions:
First, how do I install Litestep?
Second, is there a way to make a new line in an !alert or !confirm? \n and <br> don't do it.
afaik it can not be done...
I've actually done it before using lslua (lslua will translate the \n to a new line for you)... but I have too much mzscript written to convert it just for the sake of a new line.
I'm guessing it would have to be an ls core function, for my situation.
You know me with lslua...
I tried to no avail with mzscript.
in lua, you must use \r\n, not just \n. just tried it, it works for !alert.
edit: oops, guess i should read more carefully...
I just realized we were talking about !alert in the context of lslua, where lslua.message_box is more or less the same. But anything able to inject linefeed chars could do it too; the embedded newlines to !alert require there be a body and title (two arguments).
But you're also asking for ls core to handle escape codes.
We also want escape codes for $, ', and "
Just \n worked fine for lslua, when I tried it.
tnl, ya, that's the ticket.
uh... use the installer!!! effing n00b!
and yeah, I have wanted new lines in alerts for ages too... cool to know I can do it with lua ;) cheers
nevermind, i'm an idiot. (however, you need \r\n for xlabel texts (if you must save a few chars in order to work around the lslua-too-long-string-bug and therefore cannot use br-tags).)