macro=dice,(range),(x),(y),(w),(h),(face) ' |1 | 3|1 3|1 3|1 3|1 3|123|123 ' 5 | | 5 | | 5 |4 6|456|4 6|456 ' | 9|7 |7 9|7 9|7 9|7 9|789|789 ' 1 if=(face)@2456789 ellipse=(range),(x),(y),(w)/3,(h)/3,[color_dot] endif ' 2 if=(face)@89 ellipse=(range),(x)+(w)/3,(y),(w)/3,(h)/3,[color_dot] endif ' 3 if=(face)@3456789 ellipse=(range),(x)+(w)*2/3,(y),(w)/3,(h)/3,[color_dot] endif ' 4 if=(face)@6789 ellipse=(range),(x),(y)+(h)/3,(w)/3,(h)/3,[color_dot] endif ' 5 if=(face)@13579 ellipse=(range),(x)+(w)/3,(y)+(h)/3,(w)/3,(h)/3,[color_dot] endif ' 6 if=(face)@6789 ellipse=(range),(x)+(w)*2/3,(y)+(h)/3,(w)/3,(h)/3,[color_dot] endif ' 7 if=(face)@3456789 ellipse=(range),(x),(y)+(h)*2/3,(w)/3,(h)/3,[color_dot] endif ' 8 if=(face)@89 ellipse=(range),(x)+(w)/3,(y)+(h)*2/3,(w)/3,(h)/3,[color_dot] endif ' 9 if=(face)@2456789 ellipse=(range),(x)+(w)*2/3,(y)+(h)*2/3,(w)/3,(h)/3,[color_dot] endif rectangle=(range),(x),(y),(w),(h),[color_box],EMPTY end [black]=#000000 [white]=#FFFFFF [color_box]=[black] [color_dot]=[black][white][white]@360 pr[comb]2=1|2|3|4|5|6 dice=1-{(comb)},1,0,4,4,"[comb:1,1]" dice=1-{(comb)},1,5,4,4,"[comb:2,1]"