What is the return character in Labels? \n doesn't work
Oct 10 2009, 9:09 am
Ingame, if I wanted to make a new 'line', so-to-speak, how would I do such?
winset(player,"label1","text=blahblah\nblahblah") doesn't work
Oct 10 2009, 9:41 am
The forum search would've answered this question; another person had an identical problem before.
When using the "params format" (e.g. in
), you can't use special characters (such as special symbols and newline characters) intact, as the
doesn't support them as-such. Instead, those characters have to be specially encoded when included in the format. You can do this automatically by the means of the
also implicitly does this, among other things).
However, in this case, you don't have to use
in the first place - you can just use the
proc, which doesn't use a special format, to output to the label.
Copyright © 2013 BYOND. All rights reserved.
Terms of Service