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

V20 Vampire, General Purpose Macro, is it Possible

I'm looking at macros to help run a v20 Vampire game.  I can manage the specific macros such as for a Perception + Alertness roll, putting in the difficulty, having 1s cancel out successes and even having 10s explode, however with 9 Attributes and 30+ Abilities that is a lot of specific macros.  What I really need is a way to query which attribute and which ability the roll will use, which from hunting around can't be done.  The only way i can see to do it at the moment is as 2 seperate macros, the first using a unique macro asking what level the attribute and ability are at, which has to be written new out everytime, and then a second macro that allows me to put the answer manually into a dice pool query in the normal dice roll macro.  Trying to do it as a single macro means that it wants to know the dice pool before it tells me it in the chat box due to the order the macro happens in. So firstly am I missing something, is there a way of doing a general macro that will pick out the levels of different attributes and abilities. Secondly, is this something that could be done using the API.  Having looked around yesterday I have just about come to the conclusion that to make Roll20 do what I want I need to go into the API, but I have no knowledge of computer programming at all, so before I sign up with somewhere like CodeAcademy and start banging my head against the brick wall of computer programming and Javascript, and upgrading Roll20 to a Pro account, I thought it best to ask here first. I will also add that while I know the easiest way of doing this is to open the character sheet and look for the attribute and ability levels there, but I am partially sighted and a character sheet takes up most of the width of my 24" monitor when opened so I can read it, which gets really annoying as it means I can't see the chat box.  Some sheets will rearrange if narrowed down and still be readable, others won't and some don't even have a scroll bar along the bottom so I can read what is on the far side.  Unfortunatly I haven't the space for a bigger monitor and certainly not a second one.
1594975515

Edited 1594975529
GiGs
Pro
Sheet Author
API Scripter
You can use two queries, one for stats and one for skills, to get their values. I dont know actual names in your system, but here's the basic format: /roll [[?{Stat| Strength, @{selected|Strength}| Dexterity, @{selected|Dexterity}| Stamina, @{Stamina} } + ?{Skill| Brawling, @{selected|Brawling}| Bluff, @{selected|Bluff} }]]d10