I find that having the actions players/NPC can take represented by token action buttons to be invaluable. I use the "Token Action" API to auto generate these. I then remove informational only items. However, I have begun using a custom spell book API Nick Olivo created on his channel. It scales spells by spell level and removes the appropriate spell slots. More importantly the API can have other spells added as needed. I would love to use the spell buttons created by "Token Action" API but replace the scale-able spells with references to the customspellbook functions. How does one change the following: @{selected|wtype}&{template:default}{{name=@{selected|character_name} Spells}}{{Cantrips=[@{selected|repeating_spell-cantrip_$0_spellname}]
(~selected|repeating_spell-cantrip_$0_spell)[@{selected|repeating_spell-cantrip_$1_spellname}](~selected|repeating_spell-cantrip_$1_spell)
[@{selected|repeating_spell-cantrip_$2_spellname}](~selected|repeating_spell-cantrip_$2_spell)}}{{1st Level (4 slots)
=[@{selected|repeating_spell-1_$0_spellname}](~selected|repeating_spell-1_$0_spell)[@{selected|repeating_spell-1_$1_spellname}]
(~selected|repeating_spell-1_$1_spell)[@{selected|repeating_spell-1_$2_spellname}](~selected|repeating_spell-1_$2_spell)
[@{selected|repeating_spell-1_$3_spellname}](~selected|repeating_spell-1_$3_spell)[@{selected|repeating_spell-1_$4_spellname}]
(~selected|repeating_spell-1_$4_spell)[@{selected|repeating_spell-1_$5_spellname}](~selected|repeating_spell-1_$5_spell)
[@{selected|repeating_spell-1_$6_spellname}](~selected|repeating_spell-1_$6_spell)[@{selected|repeating_spell-1_$7_spellname}]
(~selected|repeating_spell-1_$7_spell)}}{{2nd Level (2 slots)=[@{selected|repeating_spell-2_$0_spellname}](~selected|repeating_spell-2_$0_spell)
[@{selected|repeating_spell-2_$1_spellname}](~selected|repeating_spell-2_$1_spell)[@{selected|repeating_spell-2_$2_spellname}]
(~selected|repeating_spell-2_$2_spell)[@{selected|repeating_spell-2_$3_spellname}](~selected|repeating_spell-2_$3_spell)}} to instead use the spell referencing my customspellbook? I could create macros for every spell the player knows and create my own nested macros list, but that sounds tedious. Is there a way to read the spells (like above), but have the actual spell name appear so you could change the appropriate snippet? Thanks,