Roll20API
Roll20API copied to clipboard
Formatting with weight
How do you include weight to the item you are importing?
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.