Roll20API icon indicating copy to clipboard operation
Roll20API copied to clipboard

Formatting with weight

Open muckaluck1 opened this issue 7 years ago • 1 comments

How do you include weight to the item you are importing?

muckaluck1 avatar Jun 19 '17 19:06 muckaluck1

Hi, sorry I didn't see this earlier. You can provide it after the name of the row with a --#:

!import-table --Some Table --show
!import-table-item --Some Table --Some Row weighted 3 --3
!import-table-item --Some Table --Some Row weighted 1

If you then executed [[ 1t[Some Table]]], you'd get the 3 weighted row 3 in 4 times and the 1 weighted row 1 in 4 times.

Check !import-table --help for more details.

shdwjk avatar Jun 27 '17 18:06 shdwjk