It looks like you're new here. If you want to get involved, click one of these buttons!
<font color="{color}" size="5">
from anything else than
Set: color=#ffff00seems to fail. The output source code only shows
<font color="" size="5">.
Table: A
Roll: 1d3
01:{class==G}{color==#ffff00}[@B&#93;
02:{class==K}{color==#ff9833}[@B&#93;
03:{class==M}{color==#ff0000}[@B&#93;
Table B
1:{class}<font color="{color}" size="5">●</font>
<font color="{color" size="5"}>
, but it also threw an error message. It seems, variables were not meant to being used as html parameters? I also played around with [when] conditions, but this didn't work either.
Comments
The part you were missing was that for inline variable assignment you need single quotes, like this:
Table: A Roll: 1d3 01:{class=='G'}{color=='#ffff00'}[@B&#93; 02:{class=='K'}{color=='#ff9833'}[@B&#93; 03:{class=='M'}{color=='#ff0000'}[@B&#93;Make that one little change, and your code works just fine.So, good rule of thumb: always use single quotes for inline variable assignment.