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 .
×
Create a free account
This post has been closed. You can still view previous posts, but you can't post any new replies.

Possible roll query fix.

I'll be the first to admit I am very much a novice, if anything, of coding in any form.  There is a roll query macro problem that is driving me nuts. But in looking at why it is falling apart I found the order of operations. Now, I don't know if this is possible, but why not change the order of operations so roll queries are handled first? Just have an analysis stage come first in the order, which scans the text and finds the last "?{" and resolves that first, start at the top of the order, and repeat until no more queries are present, then expand the first ability, back up to the last query present, and repeat. This would make basically infinite nesting possible. I dont know if that is possible given the program it operates in, but I think theoretically it could work. also to consider: make the "max" column for attributes be the default from which the @{ command draws from, and make a new command that effects the now "current" entry. This would make possible commands that effect, for example, current health, like heal spells among allies or even damage given the target has a name to draw from. if this already exists, let me know, cause I can't find it.
1550175487
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 .