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

Need help with old macro.

I'm having trouble with a master macro. the code is here: ?{Which Stat? |Strength,%{Kifu|Strength}| Perception,%{Kifu|Perception}| Endurance,%{Kifu|Endurance}| Charisma,%{Kifu|Charisma}| Intelligence,%{Kifu|Intelligence}| Agility,%{Kifu|Agility}| Luck,%{Kifu|Luck} } I have a character sheet named Kifu and abilities under the Attributes and Abilities section of the character sheet (the one you get when you don't set a character sheet for a game) for all seven attributes. Each ability macro looks like this: [[1d10cs&lt;1cf&gt;10]] VS [[@{Kifu|Agility}+?{Modifier|0}]] But all that happens when I click on the macro is this:&nbsp; <a href="https://gyazo.com/a377d5fc2e60aea2d54132b0f79623c4" rel="nofollow">https://gyazo.com/a377d5fc2e60aea2d54132b0f79623c4</a> followed by&nbsp; <a href="https://gyazo.com/924f7484879b5c3b9673d5708003fcc8" rel="nofollow">https://gyazo.com/924f7484879b5c3b9673d5708003fcc8</a> what am I doing wrong?
1500317870

Edited 1500318033
[Deleted]
Sheet Author
Well, for this, the problem is the abilities themselves. If you notice, each ability has a ?{Modifier?| query in it. When the macro reads up to the first ?{Modifier|0 &gt; } &lt; bam, the macro ends. Unfortunately the only way around this, would be to use html replacement codes. In this case, you'll want to replace your } with&nbsp; & # 1 2 5 ; in each ability.&nbsp; ( Don't use spaces) Then, when you run the combined macro, it should work. Edit: sorry, I forgot that the forums automatically switch html codes for their equivalents, so I had to put spaces to make it stay put.
SFX said: Well, for this, the problem is the abilities themselves. If you notice, each ability has a ?{Modifier?| query in it. When the macro reads up to the first ?{Modifier|0 &gt; } &lt; bam, the macro ends. Unfortunately the only way around this, would be to use html replacement codes. In this case, you'll want to replace your } with } in each ability. Then, when you runt he combined macro, it should work. thanks, I'll give it a try!
Ack, check again, sorry :D
SFX said: Ack, check again, sorry :D I knew you meant character replacement. I ALSO had to replace the | part of the modifier, but after that, everything worked perfectly. thanks for your help!