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

Macro Help: Lazy Attack Roll?

Alright, so I'm trying to set up a macro where a player clicks on a target, then uses the macro to attack in a simple manner. However, I think I've hit a snag; the "success"/"fail" doesn't show up. Here's what I have so far: #iblia-atk -> /roll 1d20+@{Iblia|Base Attack Bonus}>@{selected|AC} Output: 1d20+4>15 = [Result] Nothin' else. Is this a bug, or am I messing my logic up? [Yes, I know, having a macro for each character isn't too great an idea, organization-wise, but my players are slightly lazy, and I can't blame 'em.]
1390166862
Gauss
Forum Champion
You need to add braces to the left side of the inequality. Here you go: /roll { 1d20+@{Iblia|Base Attack Bonus} }>@{selected|AC}
1390224629

Edited 1390224956
Oh, wow, so anything that may yield a number needs a brace. This may be a good thing to note in the wiki as an example. Will test now. EDIT: Works, thanks. [=