RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Aligning messages into columns?

0 Members and 1 Guest are viewing this topic.

*
Rep: +0/-0Level 68
RMRK Junior
Hello all,

I've done a bit a searching, but there's nothing that explicitly tells me how to do this.

I intend to use a message box to display a character's stats for a menu I'm creating.  I need the layout to be displayed into two separate columns.

I can add spaces between whats written to almost line up the text, but the problem arises once the value of a stat increases to a value with additional digits (i.e. - 1 to 10 to 100 to 1000, etc).  This moves the text following the variable over one more space, ruining the alignment with everything else.

Is there a way using the existing message commands or a custom messaging script that will allow the text to be aligned into multiple columns?  Or perhaps one with a command that inserts x amount of spaces?