Ok I will try that. Inside the inlineroll property, .rollid and .signature properties are important? or can I made them up in my made up message? Edit1: I have been playing around with this idea but it is not working for me, is there something wrong in this code? var msgFake = {"content":"$[[0]]","inlinerolls":[{"expression":"1d100!>50cs>50cf<3","results":{"resultType":"sum","rolls":[{"dice":1,"mods":{"customCrit":[{"comp":">=","point":50}],"customFumble":[{"comp":"<=","point":3}],"exploding":{"comp":">=","point":50}},"results":[{"v":88},{"v":63},{"v":4}],"sides":100,"type":"R"}],"total":155,"type":"V"},"rollid":"-Ml0w_1iYbZL5AeuDKiY","signature":"a6251b9ddfdd4c37dbe481b551bf974b987f5704622198855f98fac18aca644ed2866d34d01aa70047081403695368f8cacd7f96ccc8da9b32b0a978a138be70"}],"playerid":"-MkoxyD_xpHd2YI6xUYq","type":"general","who":"Master (GM)"};
var pir = libInline.getRollData(msgFake);
var rollStr = pir[0].getRollTip();
sendChat("API: ", `${rollStr}`); I copied msgFake from the log(msg) of a message I wrote manually in chat to have something to start with but I am not sure if that is the same as a chat:message variable. rollStr is like this: "<span class=\"inlinerollresult showtip tipsy-n-right\" style=\"-webkit-tap-highlight-color: rgba(0,0,0,0);font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif;color: #404040;line-height: 1.25em;box-sizing: content-box; background-color: #FEF68E; padding: 0 3px 0 3px; font-weight: bold; cursor: help; font-size: 1.1em;border: 2px solid #3FB315;\" title=\"Rolling 1d100!&gt;50cs&gt;50cf&lt;3 = (&lt;span class=&quot;basicdiceroll critsuccess &quot;&gt;88&lt;/span&gt;+&lt;span class=&quot;basicdiceroll critsuccess &quot;&gt;63&lt;/span&gt;+&lt;span class=&quot;basicdiceroll&quot;&gt;4&lt;/span&gt;)\">155</span>" Here all the format looks right and you can see the information of the hover-mouse window in tittle: title=\"Rolling 1d100!&gt;50cs&gt;50cf&lt;3 = (&lt;span class=&quot;basicdiceroll critsuccess &quot;&gt;88&lt;/span&gt;+&lt;span class=&quot;basicdiceroll critsuccess &quot;&gt;63&lt;/span&gt;+&lt;span class=&quot;basicdiceroll&quot;&gt;4&lt;/span&gt;) Which is the roll I wrote in the chat 1d100!>50cs>50cf<3 and libInline adds the = 88+63+4 with 88 and 63 critsuccess. So everything looks nice but when I publish it in the chat this is what I see: The tittle hover-mouse window seems corrupted and does not show correctly. Edit2: It is the "cf<3 = (", if I remove it everything works fine. I do not know how to solve it so I will just avoid it.