I'm trying to create a list of powers using the list_powers attribute. I just can't figure it out. I want to list them in three columns. Can anyone help me? I have the list_powers attribute with the powers listed as:
I'm using MUX 126.96.36.199. The list_powers attribute is just an attribute that is on an object that I use to house all the powers so that I don't have to go through a large code and change a lot of code when I want to add or subtract a power. I'm running on TinyMUX.
I too have no knowledge of MUX but most MU*'s out there have a "commands" command that allows you to see all available commands. You might have one in your codebase that you can look at to get an idea, if you don't then just download a stock rom codebase from here and look at the do_commands function in interp.c and use that for a guide. Hope this helps some.
The only mush coders here I know of would be Kelvin or Keriwena, and unless they happen to be reading this week, your best bet is to post on TMC or WORA as there are significantly higher chance of a mush/muxer reading.
Actually maybe this post gives a semi good answer.
Formats a delimited <list> into fixed-width columns. Any element longer than <width> is truncated. <indent> specifies a left margin. This function fits the margin and as many columns as possible into a 78-wide screen.
The input delimiter, <delim>, defaults to a space. The left margin width, <indent>, defaults to zero.
This function returns the elements of <list> in a tabular format. All other parameters are optional. - <field width> specifies how wide each table entry is allowed to be. Default: 10 characters. - <line length> is how wide a table row can be. Default: 78 characters. - <delimiter> is the delimiter used in <list>. Default: White space. - <output separator> is a single character to be used between entries in the table. Default: White space. - <padding> is a string which will be repeated to fill in space between the end of a table entry and the next column. Default: White space.