I'm trying to just pass a msg object with an inline roll to an array, and then pull the result. I've spent 2 days on this now, and all the examples I see don't seem to help. Here's my code: on("chat:message", function(msg) { if(msg.type == "api" && msg.content.indexOf("!DR") !== -1) { var Msgcontent = new Array(); sendChat(" ", "[[1d10]]", function (roll) { var msgContent = roll; log (msgContent.inlinerolls); }); } }) When I log just MsgContent, I see the general msg object with inline rolls information, but when I try to actually access the information, it keeps coming back as undefined. I'm sure it's something stupid, but I've maxed my ability to troubleshoot.