So ScriptCards will process the loop and send the content tag for each one but it seems that Roll20 isn't displaying the others. I am not sure why that would be. !script {{
--&tableName|corman-token
--#title|Reroll
--&NumberOfRolls|?{Dice|1|2|3|4|5|6|7|8|9|10}
--%i|1;[&NumberOfRolls];1
--=tableRoll|[T#[&tableName]]
--+Roll [&i]|[$tableRoll.tableEntryText]
--+|[$tableRoll.tableEntryImgURL]
--%|
}} Running that ScriptCard with debug ouptut shows that 3 rolls take place with Roll1 being the Old Man image and rolls 2 and 3 being Orc but you are correct that the chat output only shows the first roll and seems to cut off after the first image. "Setting parameter debug to value 1 - 1"
"Line Counter: 2, Tag:&tableName, Content:corman-token"
"Line Counter: 3, Tag:#title, Content:Reroll"
"Setting parameter title to value Reroll - Reroll"
"Line Counter: 4, Tag:&NumberOfRolls, Content:3"
"ContentIn: 1;[&NumberOfRolls];1 Match: [&NumberOfRolls], vName: NumberOfRolls, replacement 3"
"Line Counter: 5, Tag:%i, Content:1;3;1"
"ScriptCards: Info - Beginning of loop i"
"ContentIn: [T#[&tableName]] Match: [&tableName], vName: tableName, replacement corman-token"
"Line Counter: 6, Tag:=tableRoll, Content:[T#corman-token]"
"ContentIn: +Roll [&i] Match: [&i], vName: i, replacement 1"
"ContentIn: [$tableRoll.tableEntryText] Match: [$tableRoll.tableEntryText], vName: tableRoll, vSuffix: tableEntryText, replacement Old Man"
"Line Counter: 7, Tag:+Roll 1, Content:Old Man"
"ContentIn: [$tableRoll.tableEntryImgURL] Match: [$tableRoll.tableEntryImgURL], vName: tableRoll, vSuffix: tableEntryImgURL, replacement <a href="https://s3.amazonaws.com/files.d20.io/images/359432944/SjqxP6MiAjN4snp3CBZibQ/max.png?1694970832" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/359432944/SjqxP6MiAjN4snp3CBZibQ/max.png?1694970832</a>"
"Line Counter: 8, Tag:+, Content:<a href="https://s3.amazonaws.com/files.d20.io/images/359432944/SjqxP6MiAjN4snp3CBZibQ/max.png?1694970832" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/359432944/SjqxP6MiAjN4snp3CBZibQ/max.png?1694970832</a>"
"Line Counter: 9, Tag:%, Content:"
"ContentIn: [T#[&tableName]] Match: [&tableName], vName: tableName, replacement corman-token"
"Line Counter: 6, Tag:=tableRoll, Content:[T#corman-token]"
"ContentIn: +Roll [&i] Match: [&i], vName: i, replacement 2"
"ContentIn: [$tableRoll.tableEntryText] Match: [$tableRoll.tableEntryText], vName: tableRoll, vSuffix: tableEntryText, replacement Orc"
"Line Counter: 7, Tag:+Roll 2, Content:Orc"
"ContentIn: [$tableRoll.tableEntryImgURL] Match: [$tableRoll.tableEntryImgURL], vName: tableRoll, vSuffix: tableEntryImgURL, replacement <a href="https://s3.amazonaws.com/files.d20.io/images/359433439/uQQjA2cAeK71AIzBVQvv7g/max.png?1694970983" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/359433439/uQQjA2cAeK71AIzBVQvv7g/max.png?1694970983</a>"
"Line Counter: 8, Tag:+, Content:<a href="https://s3.amazonaws.com/files.d20.io/images/359433439/uQQjA2cAeK71AIzBVQvv7g/max.png?1694970983" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/359433439/uQQjA2cAeK71AIzBVQvv7g/max.png?1694970983</a>"
"Line Counter: 9, Tag:%, Content:"
"ContentIn: [T#[&tableName]] Match: [&tableName], vName: tableName, replacement corman-token"
"Line Counter: 6, Tag:=tableRoll, Content:[T#corman-token]"
"ContentIn: +Roll [&i] Match: [&i], vName: i, replacement 3"
"ContentIn: [$tableRoll.tableEntryText] Match: [$tableRoll.tableEntryText], vName: tableRoll, vSuffix: tableEntryText, replacement Orc"
"Line Counter: 7, Tag:+Roll 3, Content:Orc"
"ContentIn: [$tableRoll.tableEntryImgURL] Match: [$tableRoll.tableEntryImgURL], vName: tableRoll, vSuffix: tableEntryImgURL, replacement <a href="https://s3.amazonaws.com/files.d20.io/images/359433439/uQQjA2cAeK71AIzBVQvv7g/max.png?1694970983" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/359433439/uQQjA2cAeK71AIzBVQvv7g/max.png?1694970983</a>"
"Line Counter: 8, Tag:+, Content:<a href="https://s3.amazonaws.com/files.d20.io/images/359433439/uQQjA2cAeK71AIzBVQvv7g/max.png?1694970983" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/359433439/uQQjA2cAeK71AIzBVQvv7g/max.png?1694970983</a>"
"Line Counter: 9, Tag:%, Content:"
"ScriptCards: Info - End of loop i" Interestingly enough changing the ScriptCard to have the URL after a line break !script {{
--&tableName|corman-token
--#title|Reroll
--&NumberOfRolls|?{Dice|1|2|3|4|5|6|7|8|9|10}
--%i|1;[&NumberOfRolls];1
--=tableRoll|[T#[&tableName]]
--+Roll [&i]|[$tableRoll.tableEntryText][br][$tableRoll.tableEntryImgURL]
--%|
}} will display all 3 rolls but the image URLs are displayed as text and aren't rendered to images. I am not familiar enough with Roll20's chat or image processing to explain why these things are like that. EDIT: Adding some additional logging to ScriptCards to see what it sends. I can see that ScriptCards does send multiple rolls: "DEBUG: cardoutput:
<div style=\"display: table; border: 2px solid #000000;; background-color: #EEEEEE; width: 100%; text-align: left; border-radius: 6px;; border-collapse: separate; box-shadow: 5px 3px 3px 0px #aaa;;\">
<div style=\"display: table-header-group; background-color: #1C6EA4; background-image: ; border-bottom: 2px solid #444444;\">
<div style=\"display: table-row;\">
<div style=\"display: table-cell; padding: 2px 2px; text-align: center;\"><span style=\"font-family: Contrail One; font-style:normal; font-size: 1.2em; line-height: 1.2em; font-weight: strong; color: #FFFFFF; text-shadow: -1px 1px 0 #000, 1px 1px 0 #000, 1px -1px 0 #000, -1px -1px 0 #000;\">Reroll</span><br /><span style=\"font-family: Tahoma; font-variant: normal; font-size: 13px; font-style:normal; font-weight: bold; color: #FFFFFF; \"></span>
</div>
</div>
</div>
<div style=\"display: table-row-group; background-image:;\"><div style=\"display: table-row; background: #D0E4F5; background-image: ; ;\">
<div style=\"display: table-cell; padding: 0px 0px; font-family: Helvetica; font-style: normal; font-weight:normal; font-size: 14px;; \"><span style=\"line-height: normal; color: #000000;\"><strong>Roll 1</strong> Orc</span>
</div>
</div>
<div style=\"display: table-row; background: #eeeeee; background-image: ; ;\">
<div style=\"display: table-cell; padding: 0px 0px; font-family: Helvetica; font-style: normal; font-weight:normal; font-size: 14px;; \"><span style=\"line-height: normal; color: #000000;\"><strong></strong> <a href="https://s3.amazonaws.com/files.d20.io/images/359433439/uQQjA2cAeK71AIzBVQvv7g/max.png?1694970983</span" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/359433439/uQQjA2cAeK71AIzBVQvv7g/max.png?1694970983</span</a>>
</div>
</div>
<div style=\"display: table-row; background: #D0E4F5; background-image: ; ;\">
<div style=\"display: table-cell; padding: 0px 0px; font-family: Helvetica; font-style: normal; font-weight:normal; font-size: 14px;; \"><span style=\"line-height: normal; color: #000000;\"><strong>Roll 2</strong> Corman</span>
</div>
</div>
<div style=\"display: table-row; background: #eeeeee; background-image: ; ;\"><div style=\"display: table-cell; padding: 0px 0px; font-family: Helvetica; font-style: normal; font-weight:normal; font-size: 14px;; \"><span style=\"line-height: normal; color: #000000;\"><strong></strong> <a href="https://s3.amazonaws.com/files.d20.io/images/359434074/oaWwzBA7cdvdNf9bj_A5Lw/max.png?1694971194</span" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/359434074/oaWwzBA7cdvdNf9bj_A5Lw/max.png?1694971194</span</a>>
</div>
</div>
</div>
</div>
<br />"
So ScriptCards sending a complete set of html table rows with all the rolls and images to the sendChat function but it seems that Roll20 is chopping it off after the first image.