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.

MACRO : Request inside a other request / Moove a atribute value / Conditional (WITHOUT API)

Hello guys, Curently using :&nbsp; <a href="https://wiki.roll20.net/Dungeons_and_Dragons_3.5" rel="nofollow">https://wiki.roll20.net/Dungeons_and_Dragons_3.5</a> I Want to Resolve Macro Issues. I want to do a request inside an other request like : ?{Waipon? | waipon1 , /roll 1d20 + ?{bonus|1} | //(but it dont work)&nbsp;actualy break here (think that it cant call 2 requests/windows) waipon2 , /roll 1d20 + ?{bonus|2} } I want asw moove some atributes values : @{hitpoints}&nbsp;=&nbsp;@{hitpoints} - 3 or : @{bar1} = @{bar1} - 3 Did you provide some EASY conditional macro like : IF, ELSE, &gt;, &lt;, While, ==, = ???&nbsp; Any one have a solution ? PS: I'm french i'm really bad for english sorry for my gramma :D MERCY !!!!
WIZZY said: I want to do a request inside an other request like : ?{Waipon? | waipon1 , /roll 1d20 + ?{bonus|1} | //(but it dont work)&nbsp;actualy break here (think that it cant call 2 requests/windows) waipon2 , /roll 1d20 + ?{bonus|2} } In order to nest a child Roll Query within a parent Roll Query, it's necessary to escape the child Roll Queries' syntax; check out: Advanced Usage for Roll Queries and Example (nesting Roll Queries) .
WIZZY said: I want asw moove some atributes values : @{hitpoints}&nbsp;=&nbsp;@{hitpoints} - 3 or : @{bar1} = @{bar1} - 3 Unfortunately, it's not possible for a macro to modify the values of Attributes (or Token Bars ) without the assistance of an API Script . (Access to the API is available in games in which the Creator has an active Pro subscription.)
WIZZY said: Did you provide some EASY conditional macro like : IF, ELSE, &gt;, &lt;, While, ==, = ???&nbsp; Any one have a solution ? I provided some options for non-API conditional statements (mostly strictly mathematical) provided within this thread . If you haven't already, check out the Dice Reference page for more syntax to use with the dice engine.
Thx for answers !
Thx you !