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

What am I doing wrong with Initiative Macro?

Hey guys I'm completely new to this and am trying to do a Macro where I select a monster token, and it will roll initiative using Bar3 which is it's initiative bonus. /em @{selected|token_name} rolls a [[1d20+@{bar3}&{tracker}]] for initiative! Any help would be appreciated. Cheers Colin
1586770062
Ziechael
Forum Champion
Sheet Author
API Scripter
You are likely just missing the 'selected|' identifier on the bar call (adding a space before the tracker command won't hurt either): /em @{selected|token_name} rolls a [[1d20+@{ selected| bar3} &{tracker}]] for initiative!
Cheers for that Ziechael.  I just worked it out and was coming back to say that.  This is a steep learning curve for me lol