The script is very simple and does not support multiple evals, nested evals, or anything beyond a single statement.
It also doesn't support multiple convert codes within the same message.
I have no solution for that.
EDIT:
actually I just updated the script with something that might work.
The syntax is now
\eval{< YOUR FORMULA HERE >}Note the special delimiters.Still does not allow you to say something like
\eval{< \eval{< something }> }>But at least you can say
Obviously this is just a big hack to get things to work, but regular expressions are too limited to support bracket matching. These codes were never to meant to be anything complicated, with nested variables like
being the most complex kind of code nesting that you'd probably use (and even that doesn't work properly)The thing is evaluated recursively though, which is kind of interesting.
It also doesn't support multiple convert codes within the same message.
I have no solution for that.
EDIT:
actually I just updated the script with something that might work.
The syntax is now
\eval{< YOUR FORMULA HERE >}Note the special delimiters.Still does not allow you to say something like
\eval{< \eval{< something }> }>But at least you can say
Code:
\eval{< first formula >} - \eval{< second formula }>
Code:
\n[\v[\v[3]]]
Last edited by a moderator:

