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 .
×

[Help] Macro is showing differently depending where I click

1591018093

Edited 1591026048
[Solved] The macro is: /w gm &{template:default} {{name= An Attack!}} {{attackroll=[[1d100]]}} {{damage=[[1d10]]; [[1d10]]}} {{Critical?=[[1d100]]}} {{Location=01 - 15 Head 16 - 55 Arm 56 - 80 Body 81 - 00 Leg}}  Whether I click on the roll icon in the macro menu, on test macro or click on the macro in the bar I get different results in the chat. I'd like to get rid of the blue nothing that's posted in the chat.  I haven't found a solution and I'd like to keep using the template. Did anyone have a similar problem?
1591018768
GiGs
Pro
Sheet Author
API Scripter
One possible cause for this is having an extra empty line at the end of your macro.  Position the mouse cursor at the end of this: 81 - 00 Leg}} and click the right arrow, see if you go down to next the line. If so keep going till you reach the actual end, then backspace till you get back the text above.
Thanks, that was the mistake!
1591027541
GiGs
Pro
Sheet Author
API Scripter
I've done that myself plenty of times :)