shdwjk / Roll20API

A collection of all my production ready Roll20 API scripts.
83 stars 73 forks source link

Fixed RecursiveTable crash #14

Closed Zenith-One closed 6 years ago

Zenith-One commented 8 years ago

I discovered accidentally that, if you have extra spaces in the inline rolls in table entries (e.g. you have something like [[ 1t[some-table] ]] that there was a syntax error thrown by the API. I have no idea what causes the particular syntax error mentioned, but I got past it by removing the spaces in those expressions.

The error: SyntaxError: Expected "[" or [ |\t] but "1" found. undefined

shdwjk commented 8 years ago

Nice! Scott C. and I have been working on a new version of this that is much improved, I'll see about rolling in a fix for this problem. I documented the root issue here:

https://app.roll20.net/forum/post/2217884/api-regressions-for-inline-dice-expression-in-the-sendchat-api-function

shdwjk commented 6 years ago

Ok, since I released a heavily modified and updated version of script, I'm going to close this pull request.