Okay, I know this script is pretty old, and it clearly needs some updating. Myself and others have attempted to reach the creator of it Manveti , but it seems as though he has not really come back to roll20 for whatever reasons. His last post was 2 months ago, and the last before that is 11 months. After hours upon hours of tinkering with the api script and testing my macros, I have come to the conclusion as to why certain aspects of it doesn't work as it should. And what can be done to fix them, but I do not understand the coding language to do so :/ Whenever someone encounters the API script failing error of ReferenceError: astToInline is not defined that is because alot of the roll commands we type in chat aren't defined in the api script. Such as but not limited to... 1d20 ! 1d20 cs >15 2d20 r 1 k 2 1 t[table] and so on, a lot of these features aren't defined in Extended Expression by default because I assume it came out before those were added in. But if someone can figure out how to add these roll functions into the script it could be really awesome. Cause currently if you try to predefine a roll using one of the above roll functions it just crashes with the error posted above. But if we manage to get it to work with them, we can make even more amazing macros with this script. It could and should change everything, it would allow me personally to predefine the roll/output of a table. In which you can then have a list of outputs or modifiers based on what the table actually rolled. More specifically using the image table trick using tinyurl, you can make it display that image then roll a per-determined stat rolling method based on which image showed up. There are a few more problems with the script, i've seen them posted on these forums but the above problem was prevalent in my mind and as such is the only one i can think of at this moment.