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 : run only one macro with 2 macro and delay

1465889997

Edited 1465890307
Hello everyone, maybe someone can help me ? Curently using : <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 do this: Macro 1: /roll {1d20 +bonus}&gt;[[@{target|Armorclass}]] &nbsp;// i want run this in first and have result on chat Macro 2: ?{successes ? //break here my second action run in same time.&nbsp;But i want to receive the result of the first part and after the result run a second macro. |Yes, /roll Dice Dammage (i.e 1d8) |no} My question is : It is possible to make a delay between this two line ?&nbsp; Ps: I'm french guys and I'm pretty bad in english so excuse me for grammar mistake and other mistake.
1465896042

Edited 1465896074
Hi, deatheragon38 d. Due to the Order of Operations , Roll Queries must be handled before dice are rolled. One "workaround" would be to use Ability Command Buttons like so: /roll {1d20 +bonus}&gt;[[@{target|Armorclass}]] [Roll Damage](~selected|Macro2)
Ok, thanks for anserws. I will work on this
This is my macro with your solution (macro arme-1 and arme-2 just is roll dice for moment) : ?{which weapon? | @{weapon1name}, /em attack with @{weapon1name} /roll {1d20 + [[@{str-mod}]] + ?{bonus attak&#124;0&#125;&#125;&gt;[[@{target|Armorclass}]] [succès](~selected&#124;arme-1)| @{weapon2name}, /em attaque avec @{weapon2name} /roll {1d20 + [[@{str-mod}]] + ?{bonus jet d'attaque&#124;0&#125;&#125;&gt;[[@{target|Armorclass}]] [succès](~selected&#124;arme-2) } If i save the macro and i run it. i have this: So it does'nt work (no idea for what) Now, i open window for macro and i run with window open : It worked ... Any idea for what i have it ?
That's very weird; the first I've seen of something like this. ?{Q|A, [1](~Ability)|...} This exhibits the same issue. I've found that escaping either one of the parentheses or the tilde will work around the issue.
I am sorry but i didn't understand your explanation. Can you repeat with more détails please (with easy words for poors bad english speaker ^^) ? Thanks
My apologies! By "escaping" I meant replacing with HTML entities. So, I recommend this as a workaround: [succès](selected&amp;#124;arme-1&amp;#41;