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

[Pathfinder2e] Skill Drop Down Query

Hi there, I am trying to create a macro that allow me to 1. Select the correct pf2 skill 2. pf2Template-Rolls that skill I am trying with that: ?{Chose a Skill| Acrobatics, %{chName|ACROBATICS} | Arcana, %{chName|ARCANA} | } But something is going wrong. If I use the ASCII code for the character (e.g. | , ...) the % part fails, but when I use the characters as they are the query part fails. I tried looking around, but I wasn't able to fix the problem Thank you
1594626255
GiGs
Pro
Sheet Author
API Scripter
The problem here is that you need to do some html replacement within skill macros. When you run a nacro in roll20, it grabs any abilities listed and puts their complete text in the query. So %{chName|ACROBATICS} is replaced with its contents. Its very likely those abilities contain some characters that break the query (they might include another query for example). The only good way to solve this is to use a chat menu instead of a query. Chat menus: <a href="https://app.roll20.net/forum/permalink/5927072/" rel="nofollow">https://app.roll20.net/forum/permalink/5927072/</a>
Got it, I will have a look.&nbsp; Other question: is there a way to bulk upload Ability macros? Or I am supposed to do it by myself?&nbsp;
1594627910
GiGs
Pro
Sheet Author
API Scripter
what do you mean by upload?
Yes, kind of. I'm thinking to transform the skill macro %{ch|skill} to a character Ability. Since it changes only a parameter (skill name) I was asking if there is a way to bulk upload. Otherwise I build for myself a small robot to do that, but it would bee cool if there was a enbedded bulk-upload feature somewhere.
1594677608
GiGs
Pro
Sheet Author
API Scripter
I'm still not sure what you mean by upload. Are you talking about important the macros from outside roll20?