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

Is there a way to use the "list" function to call Dice Roll buttons?

So effectively, using the 5E shaped sheet for reference. I am trying to create a list which calls the "Use" buttons through a list. I believe I might be able to backwards work with some ones that are currently there, I was just wondering if someone had done this already.
@{output_option} &{template:5eDefault} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{subheader=Ability Check}} {{rollname=Result}}  === ?{Ability Check|Acrobatics (Dex) , {{title=Acrobatics}} {{roll=[[d20@{d20_mod} + @{acrobatics}]]}} {{rolladv=[[d20@{d20_mod} + @{acrobatics}]]}}|Animal Handling (Wis) , {{title=Animal Handling}} {{roll=[[d20@{d20_mod} + @{animalhandling}]]}} {{rolladv=[[d20@{d20_mod} + @{animalhandling}]]}}|Arcana (Int) , {{title=Arcana}} {{roll=[[d20@{d20_mod} + @{arcana}]]}} {{rolladv=[[d20@{d20_mod} + @{arcana}]]}}|Athletics (Str) , {{title=Athletics}} {{roll=[[d20@{d20_mod} + @{athletics}]]}} {{rolladv=[[d20@{d20_mod} + @{athletics}]]}}|Deception (Cha) , {{title=Deception}} {{roll=[[d20@{d20_mod} + @{deception}]]}} {{rolladv=[[d20@{d20_mod} + @{deception}]]}}|History (Int) , {{title=History}} {{roll=[[d20@{d20_mod} + @{history}]]}} {{rolladv=[[d20@{d20_mod} + @{history}]]}}|Insight (Wis) , {{title=Insight}} {{roll=[[d20@{d20_mod} + @{insight}]]}} {{rolladv=[[d20@{d20_mod} + @{insight}]]}}|Intimidation (Cha) , {{title=Intimidation}} {{roll=[[d20@{d20_mod} + @{intimidation}]]}} {{rolladv=[[d20@{d20_mod} + @{intimidation}]]}}|Investigation (Int) , {{title=Investigation}} {{roll=[[d20@{d20_mod} + @{investigation}]]}} {{rolladv=[[d20@{d20_mod} + @{investigation}]]}}|Medicine (Wis) , {{title=Medicine}} {{roll=[[d20@{d20_mod} + @{medicine}]]}} {{rolladv=[[d20@{d20_mod} + @{medicine}]]}}|Nature (Int) , {{title=Nature}} {{roll=[[d20@{d20_mod} + @{nature}]]}} {{rolladv=[[d20@{d20_mod} + @{nature}]]}}|Perception (Wis) , {{title=Perception}} {{roll=[[d20@{d20_mod} + @{perception}]]}} {{rolladv=[[d20@{d20_mod} + @{perception}]]}}|Performance (Cha) , {{title=Performance}} {{roll=[[d20@{d20_mod} + @{performance}]]}} {{rolladv=[[d20@{d20_mod} + @{performance}]]}}|Persuasion (Cha) , {{title=Persuasion}} {{roll=[[d20@{d20_mod} + @{persuasion}]]}} {{rolladv=[[d20@{d20_mod} + @{persuasion}]]}}|Religion (Int) , {{title=Religion}} {{roll=[[d20@{d20_mod} + @{religion}]]}} {{rolladv=[[d20@{d20_mod} + @{religion}]]}}|Sleight of Hand (Dex) , {{title=Sleight of Hand}} {{roll=[[d20@{d20_mod} + @{sleightofhand}]]}} {{rolladv=[[d20@{d20_mod} + @{sleightofhand}]]}}|Stealth (Dex) , {{title=Stealth}} {{roll=[[d20@{d20_mod} + @{stealth}]]}} {{rolladv=[[d20@{d20_mod} + @{stealth}]]}}|Survival (Wis) , {{title=Survival}} {{roll=[[d20@{d20_mod} + @{survival}]]}} {{rolladv=[[d20@{d20_mod} + @{survival}]]}}|@{custom_skill_1_name}, {{title=@{custom_skill_1_name}}} {{roll=[[d20@{d20_mod} + @{custom_skill_1}]]}} {{rolladv=[[d20@{d20_mod} + @{custom_skill_1}]]}}|@{custom_skill_2_name}, {{title=@{custom_skill_2_name}}} {{roll=[[d20@{d20_mod} + @{custom_skill_2}]]}} {{rolladv=[[d20@{d20_mod} + @{custom_skill_2}]]}}|@{custom_skill_3_name}, {{title=@{custom_skill_3_name}}} {{roll=[[d20@{d20_mod} + @{custom_skill_3}]]}} {{rolladv=[[d20@{d20_mod} + @{custom_skill_3}]]}}|@{custom_skill_4_name}, {{title=@{custom_skill_4_name}}} {{roll=[[d20@{d20_mod} + @{custom_skill_4}]]}} {{rolladv=[[d20@{d20_mod} + @{custom_skill_4}]]}}|-|Strength, {{title=Strength}} {{roll=[[d20@{d20_mod} + @{basic_strength_check_mod}]]}} {{rolladv=[[d20@{d20_mod} + @{basic_strength_check_mod}]]}}|Dexterity, {{title=Dexterity}} {{roll=[[d20@{d20_mod} + @{basic_dexterity_check_mod}]]}} {{rolladv=[[d20@{d20_mod} + @{basic_dexterity_check_mod}]]}}|Constitution, {{title=Constitution}} {{roll=[[d20@{d20_mod} + @{basic_constitution_check_mod}]]}} {{rolladv=[[d20@{d20_mod} + @{basic_constitution_check_mod}]]}}|Intelligence, {{title=Intelligence}} {{roll=[[d20@{d20_mod} + @{basic_intelligence_check_mod}]]}} {{rolladv=[[d20@{d20_mod} + @{basic_intelligence_check_mod}]]}}|Wisdom, {{title=Wisdom}} {{roll=[[d20@{d20_mod} + @{basic_wisdom_check_mod}]]}} {{rolladv=[[d20@{d20_mod} + @{basic_wisdom_check_mod}]]}}|Charisma, {{title=Charisma}} {{roll=[[d20@{d20_mod} + @{basic_charisma_check_mod}]]}} {{rolladv=[[d20@{d20_mod} + @{basic_charisma_check_mod}]]}}|Other, {{title=?{Other|Unspecified}}} {{roll=[[d20@{d20_mod} + ?{Modifiers|0}]]}} {{rolladv=[[d20@{d20_mod} + ?{Modifiers|0}]]}} }" So similar to this but for Class Actions. Alot of it is pretty confusing to me right now <_>. I can't get it to list anything without spitting out errors. 
Are you trying to call class actions from a Roll Query?
Mm, yes I believe thats how you phrase it. :)
Well, something like might work, but really only in a terribly-restricted fashion: @{output_option} &{template:5eDefault} {{character_name=@{character_name}}} @{show_character_name} ?{Class Action| @{classactionname1}, {{title=@{classactionname1}}} {{subheader=Class Action 1}} {{freetext=@{classactionoutput1}}} | @{classactionname2}, {{title=@{classactionname2}}} {{subheader=Class Action 2}} {{freetext=@{classactionoutput2}}} | @{classactionname3}, {{title=@{classactionname3}}} {{subheader=Class Action 3}} {{freetext=@{classactionoutput3}}} | @{classactionname4}, {{title=@{classactionname4}}} {{subheader=Class Action 4}} {{freetext=@{classactionoutput4}}} | @{classactionname5}, {{title=@{classactionname5}}} {{subheader=Class Action 5}} {{freetext=@{classactionoutput5}}} | @{classactionname6}, {{title=@{classactionname6}}} {{subheader=Class Action 6}} {{freetext=@{classactionoutput6}}} | @{classactionname7}, {{title=@{classactionname7}}} {{subheader=Class Action 7}} {{freetext=@{classactionoutput7}}} | @{classactionname8}, {{title=@{classactionname8}}} {{subheader=Class Action 8}} {{freetext=@{classactionoutput8}}} | @{classactionname9}, {{title=@{classactionname9}}} {{subheader=Class Action 9}} {{freetext=@{classactionoutput9}}} | @{classactionname10}, {{title=@{classactionname10}}} {{subheader=Class Action 10}} {{freetext=@{classactionoutput10}}} } The above uses HTML entities (see: Advanced Usage for Roll Queries ), so it's best saved as an Ability. Unfortunately, if any of the ten classactionoutput fields contains any "problematic characters", the Query will break. So, unless you're up to policing class actions to fit the mold, I would recommend opting for a "menu" of API Command Buttons: /w gm &{template:5eDefault} {{character_name=@{character_name}}} @{show_character_name} {{title=Class Actions}} {{[@{classactionname1} ](!
%{Character Name|classaction1})}} {{[@{classactionname2} ](!
%{Character Name|classaction2})}} {{[@{classactionname3} ](!
%{Character Name|classaction3})}} {{[@{classactionname4} ](!
%{Character Name|classaction4})}} {{[@{classactionname5} ](!
%{Character Name|classaction5})}} {{[@{classactionname6} ](!
%{Character Name|classaction6})}} {{[@{classactionname7} ](!
%{Character Name|classaction7})}} {{[@{classactionname8} ](!
%{Character Name|classaction8})}} {{[@{classactionname9} ](!
%{Character Name|classaction9})}} {{[@{classactionname10} ](!
%{Character Name|classaction10})}}
Hmmm alright fair enough. I'll stick to using API buttons then. Woulda of been cleaner to have it via a list but I guess they have no supported that yet.