There's a new version of the API that was just pushed out. The highlights: Inline Rolls and Floor/Ceil Support This update brings the sendChat() function inside of the API up to par with the new dice rolling features that are currently in-game. So you can now do an inline roll or use floor/ceil inside your sendChat rolls, for example: sendChat("Test", "/roll floor([[1d20]]/2)"); In addition, there is a new property in the "op" object of the "chat:message" event, called "inlineroll." I don't have it fully documented yet, but if you log it like so: on("chat:message", function(op) { log(op); }); And then do a [[1d20]] in-game you should get the gist of it. Selected Token Information I'm pleased to report that we're also able to start giving you some additional insight into what's going on with user's interactions on-screen for use in your API scripts. Now for API commands (so commands beginning with "!" in the chat), there is an additional "selected" property on the "op" object of the "chat:message" event. It's a simple array of objects, each of which contains two properties, the "_id" and "_type" of the selected token/path/text on the screen. So for example if I had a token selected and did "!hide", the API would see (in the "chat:message" event handler): op = { ... selected: [ { _type: "graphic", _id: "-Iva56adfadf" } ] } I could then use that information to get the object that was selected when the command was entered. NOTE: Currently selected token information is only sent for Campaigns on the DEV SERVER. It will be pushed to Main in the next update in about two weeks. Let me know if you have any questions, thanks!