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

Problem with a Macro in a Repeating Section

Hello dear roll20 member o/ I do some searching and i find a post who speak about my problem but it's look like 3 year ago it was impossible: <a href="https://app.roll20.net/forum/post/2100941/slug%7D" rel="nofollow">https://app.roll20.net/forum/post/2100941/slug%7D</a>&nbsp; I have some issue with a macro, let me just some line for explain:&nbsp; This one work perfectly, but i want to make a macro who ask to the player which weapon he want to "use" o/ Then, i change the macro for make a test and do that : But it's look like the last "}" is ignored... which solution i have for do that ? did i forget something in my macro ? and if it's impossible , which script can i use for do that kind of work ?
1531658821
Pantoufle
Pro
Sheet Author
Translator
Hello, I think it is linked to html replacement but I'm no expert so I may be wrong. Search for this in the forum perhaps, maybe someone can provide a better help :)
i Searched for this thank you, i tried to replace that "}" who make a error with :&nbsp; &amp;#125; But i got the same error
1531670932

Edited 1531670964
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Because of the order of operations , you can't nest anything inside attribute calls. * *It actually is possible to nest attribute calls within each other through some hacky methods, but that won't help you here.
1531673233
Kraynic
Pro
Sheet Author
While it would require multiple macros, maybe this would be a good time to use the chat menu setup?&nbsp; Set up a macro for each weapon and then a macro which sets up the buttons to select the weapon you want to use.&nbsp; Chat Menu from the Stupid Roll20 Tricks thread.
1531673416
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Yep, that'd be the best way to do it.
That a really good trick ! i will do it ,thank you !