Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
This post has been closed. You can still view previous posts, but you can't post any new replies.

Full rework of macros parser

1536287409

Edited 1536287507
In my opinion macros parser is abcsolutly broken an it needs to be reworked. 1. It need's to search appropriate closing bracket, not the first one. System with HTML entities can not be work as intended in normal parser. 2. Parser is needs to do all steps frone  here  on every loop. Not the first 3. Many people want to call something like @{attr_name_[1d4]} and things like that.Order of operations now limitates all of us. 3. Optimization is a key. If I create roll query with nums from 1 to 100 and for each num it will make some actions with targeted token this number of time, I needs to wait really long time,maybe minute or so. Why? Because every anwer in a query will be maintained first. But it is not neccassary. 4. Fix problems with selected and target. If I call %{selected|action1} %{target|action2} %{selected|action3}, then last action won't be called. Parser just forgets who is selected.
1550175626
Roll20 Dev Team
Pro
Marketplace Creator
Thanks for the suggestion! After 30 days, Suggestions and Ideas with fewer than 10 votes are closed and the votes are refunded to promote freshness. Your suggestion didn't build the right momentum this time, but feel free to submit it again! We find that the best suggestions describe the problem you are having, and the solution you want. You can learn more about the process of making suggestions on the Roll20 Wiki! More details can be found here .