
Firstly, if I'm posting in the wrong place, feel free to move it to the correct place. I was directed here by the Help Centre. Anyway, my issue is pretty much what it says on the tin. I am using a currently unsupported system (BESM 3E/4E for the curious) so I've had to craft all of the abilities and macros myself. Since I am not in any shape or form experienced in even the most basic coding, this has involved much in the way of headaches and cursing but has mostly succeeded. We are now in the process of moving from BESM 3E to 4E and it has a new resolution mechanic similar to D&D5E's Advantage/Disadvantage. A basic roll is 2d6 but an minor edge enables rolling 3d6 and taking the top 2, with a major edge enabling 4d6 to be rolled. An obstacle does the opposite. This means that I need to incorporate this into my current macros and abilities. I thought I'd done so, as I created this: [[ ?{Roll Type|Standard, 2d6 | Edge, (2+?{Edge Dice&#125)d6kh2 | Obstacle, (2+?{Obstacle Dice&#125)d6kl2} ]] to replace the basic 2d6 So, one of the abilities looked like this:
/w gm @{selected|token_name} makes an unarmed attack against @{target|token_name} /w gm [[ ?{Roll Type|Standard, 2d6 | Edge, (2+?{Edge Dice&#125)d6kh2 | Obstacle, (2+?{Obstacle Dice&#125)d6kl2} +@{Base-Combat} +@{ACM} +@{MelAtt-UA} +@{target|Bakemono}*@{MelAtt-Bakemono} +?{Team Metal?|0} ]] Unarmed Attack Now the above ability works. It works absolutely fine. This: [[ ?{Roll Type|Standard, 2d6 | Edge, (2+?{Edge Dice&#125)d6kh2 | Obstacle, (2+?{Obstacle Dice&#125)d6kl2} ]] as an ability also works fine. I have tested both of these repeatedly.
Now, when I try to put either of the above into a macro, it does NOT work. NB. With the attributes, I did remember to add 'selected' to the front of them for the macro; @{selected|Base-Combat} etc.
I have several macros in my game that work perfectly fine with the standard 2d6 rolls. This: /w gm @{selected|token_name} gets [[ 2d6 +?{Which Attribute? | Body, @{selected|Body} | Mind, @{selected|Mind} | Soul, @{selected|Soul} | Body & Mind, floor((@{selected|Body}+@{selected|Mind})/2) | Body & Soul, floor((@{selected|Body}+@{selected|Soul})/2) | Mind & Soul, floor((@{selected|Mind}+@{selected|Soul})/2) | Stat Average, floor((@{selected|Body}+@{selected|Mind}+@{selected|Soul})/3)} +?{Modifier?|0} ]] on the Stat roll works fine. If I try to replace the 2d6 part with the query above, however, it goes 'Nope!' I hope I'm just being dense here and there's some formatting difference between macros and abilities that I'm missing or something but for the love of the Random Number Gods, can someone please help me out here? *tears hair out*