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

If/branching behavior in a macro?

I'm trying to ease my burden as a GM in The One Rine, by writing some token-specific macros. I would love it if there was a way for me to read an attribute on the token's character sheet (whether the character is weary in this case) and based on what the macro is, branch the logic. Can it be done? Here's the macro for good measure: /em @{selected|token_name} swings against @{target|token_name} vs TN [[@{selected|Stance}+@{target|bar3}]] /r 1t[feat] + @{selected|Attack}t[normal] > [[@{selected|Stance}+@{target|bar3}]]
1398638662
Gauss
Forum Champion
If/then is not possible with basic macros. You need the API (a mentor level feature) for that. Congrats, you are a Mentor! I suggest talking to the API forum for this. :)