I ran into a problem when I wanted to create a GM-only tooltipped result. For example:
Code: Select all
[h: toolTip = evalMacro('[t:1d20+1d10]')]
**Secret sent to GM!!** [gm: toolTip]
Code: Select all
<font color="#000000"><span>**Secret sent to GM!!** «</span></font><font color="blue"><span class="roll"> toolTip
= </span></font><font color="#000000"><span>»1d20+1d10 = 19
+ 4231d20+1d10 = 19 + 423«</span></font><font color="blue"><span class="roll"> </span></font><font color="#000000"><span>»</span></font>
Code: Select all
[h: unformatted = evalMacro('[u:1d20+1d10]')]
**Secret sent to GM!!** [gm: unformatted]
Code: Select all
<font color="#000000"><span>**Secret sent to GM!!** «</span></font><font color="blue"><span class="roll"> unformatted
= </span></font><font color="#000000"><span>»u1d20+1d10 = 6
+ 10 = 16u1d20+1d10 = 6 + 10 = 16«</span></font><font color="blue"><span class="roll"> </span></font><font color="#000000"><span>»</span></font>
So, does anyone have an idea on how this could be resolved so I can send the full text of a roll to the GM's using evalMacro? I have been using the evalMacro because there's more text to the GM message than just that die roll, but I'm going to split it up into multiple messages to make it work for now.