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

why wont this macro work?

hey all, ive been trying to get a macro to work, it works for some players, but now when i try to get it to work for a new one it doesnt seem to.  ive copied the macro line by line and changed only the macros being called, idk what the issue is. original: /roll ( #Lyssa-Attr + #Lyssa-Abi-All +?{Bonus Dice|0}+?{Wound Penealty|None,0|bruised,0|Hurt,-1|Wounded,-2|Crippled,-4})t[exalted]+?{Bonus Successes|0} New /roll ( #Kianiss-Attr + #Kianiss-Abi-All +?{Bonus Dice|0}+?{Wound Penalty|None,0|bruised,0|Hurt,-1|Wounded,-2|Crippled,-4})t[exalted]+?{Bonus Successes|0} idk, maybe its because i edited the original in a google sheet, maybe im just not seeing something, whatever it is im lost. the macros rely on two others that pull info from the Exalted Second Edition sheets, so maybe that is it? here is what those look like: Lyssa-Abi-All ?{Ability | Archery,@{Lyssa|Archery5} | Martial Arts,@{Lyssa|MartialArts5} | Melee,@{Lyssa|Melee5} | Thrown,@{Lyssa|Thrown5} | War,@{Lyssa|War5} | Athletics,@{Lyssa|Athletics5} | Awareness,@{Lyssa|Awareness5} | Dodge,@{Lyssa|Dodge5} | Larceny,@{Lyssa|Larceny5} | Stealth,@{Lyssa|Stealth5} | Integrity,@{Lyssa|Integrity5} | Performance,@{Lyssa|Performance5} | Presence,@{Lyssa|Presence5} | Resistance,@{Lyssa|Resistance5} | Survival,@{Lyssa|Survival5} | Investigation,@{Lyssa|Investigation5} | Lore,@{Lyssa|Lore5} | Medicine,@{Lyssa|Medicine5} | Occult,@{Lyssa|Occult5} | Bureaucracy,@{Lyssa|Bureaucracy5} | Linguistics,@{Lyssa|Linguistics5} | Ride,@{Lyssa|Ride5} | Sail,@{Lyssa|Sail5} | Socialize,@{Lyssa|Socialize5}}  Lyssa-Attr ?{Attribute | Strength,@{Lyssa|Strength} | Dexterity,@{Lyssa|Dexterity} | Stamina,@{Lyssa|Stamina} | Charisma,@{Lyssa|Charisma} | Manipulation,@{Lyssa|Manipulation} | Appearance,@{Lyssa|Appearance} | Intelligence,@{Lyssa|Intelligence} | Wits,@{Lyssa|Wits} | Perception,@{Lyssa|Perception}} and to make them into the Kianiss variants i just replaced Lyssa with Kianiss in a google doc using the "Ctrl + F" function.
1687289370
Kraynic
Pro
Sheet Author
Just a stab in the dark, but you might double check the trouble character sheet to be sure that it doesn't have an "invisible" trailing space or something. 
well, a friend gave some help and it was discovered that for some reason its not recognizing the macro calls, if the macros are subbed for the text they contain the "New" line works.  so i guess the question shifts to "why are the macro calls not functioning?"
1687371037
timmaugh
Forum Champion
API Scripter
Just to be sure... the macros exist? Kianiss-Attr ...and... Kianiss-Abi-All ? What happens if you just enter them into chat? IE... #Kianiss-Attr If they exist and you can't get them to kick out in chat, go to the Collections tab and click on one to open it. Inspect the name for odd spaces (leading, trailing, etc.). Copy the name from there and use it to paste into chat (with the hash) to see if that will kick it out.
so the macros called work independently, and when the #macros are copy pasted from the chat it still isnt called in the code.
1687380802

Edited 1687381098
Gauss
Forum Champion
My suggestion, test every part separately until you find what is breaking.  Step 1: /roll ( #Kianiss-Attr + #Kianiss-Abi-All +?{Bonus Dice|0}+?{Wound Penalty|None,0|bruised,0|Hurt,-1|Wounded,-2|Crippled,-4}) Step 2:  /roll 1t[exalted]+?{Bonus Successes|0} See which one breaks. Then we break that section down further.  If step 1 is the one that breaks we break that down to:  Step 1a: /roll ( ?{Bonus Dice|0}+?{Wound Penalty|None,0|bruised,0|Hurt,-1|Wounded,-2|Crippled,-4}) Step 1b:  /roll ( #Kianiss-Attr + #Kianiss-Abi-All) If step 2 is the one that breaks it is probably the table, but to confirm we do this:  Step 2a:  /roll 1t[exalted] Step 2b:  /roll ?{Bonus Successes|0} We keep repeating the process until we find what is breaking.  With all of that said, I really recommend moving away from Collection tab macros, Ability macros just work better. You can use a Macro Mule to keep all the main macros in one place. 
1687388604
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Also,  Chat Menus  are far simpler than queries to code and troubleshoot.