So I started using the MenuMaker API and my players have loved it so far. The setup I used for the spell list was written by keithcurtis and is shown below. /w gm &{template:npcaction} {{rname=Spells for @{character_name}}} {{description=[section:"spell-cantrip" repeatFilters=name:/./]
[header]Cantrips
[/header][@{repeating_spell-cantrip_$X_spellname}](~repeating_spell-cantrip_$X_spell) | [footer]
[/footer]
[/section][section:"spell-1" repeatFilters=name:/./;spellprepared:/1/]
[header]Level One *(@{selected|lvl1_slots_expended}/@{selected|lvl1_slots_total})*
[/header][@{repeating_spell-1_$X_spellname}](~repeating_spell-1_$X_spell) | [footer]
[/footer]
[/section][section:"spell-2" repeatFilters=name:/./;spellprepared:/1/]
[header]Level Two *(@{selected|lvl2_slots_expended}/@{selected|lvl2_slots_total})*
[/header][@{repeating_spell-2_$X_spellname}](~repeating_spell-2_$X_spell) | [footer]
[/footer]
[/section][section:"spell-3" repeatFilters=name:/./;spellprepared:/1/]
[header]Level Three *(@{selected|lvl3_slots_expended}/@{selected|lvl3_slots_total})*
[/header][@{repeating_spell-3_$X_spellname}](~repeating_spell-3_$X_spell) | [footer]
[/footer]
[/section][section:"spell-4" repeatFilters=name:/./;spellprepared:/1/]
[header]Level Four *(@{selected|lvl4_slots_expended}/@{selected|lvl4_slots_total})*
[/header][@{repeating_spell-4_$X_spellname}](~repeating_spell-4_$X_spell) | [footer]
[/footer]
[/section][section:"spell-5" repeatFilters=name:/./;spellprepared:/1/]
[header]Level Five *(@{selected|lvl5_slots_expended}/@{selected|lvl5_slots_total})*
[/header][@{repeating_spell-5_$X_spellname}](~repeating_spell-5_$X_spell) | [footer]
[/footer]
[/section][section:"spell-6" repeatFilters=name:/./;spellprepared:/1/]
[header]Level Six *(@{selected|lvl6_slots_expended}/@{selected|lvl6_slots_total})*
[/header][@{repeating_spell-6_$X_spellname}](~repeating_spell-6_$X_spell) | [footer]
[/footer]
[/section][section:"spell-7" repeatFilters=name:/./;spellprepared:/1/]
[header]Level Seven *(@{selected|lvl7_slots_expended}/@{selected|lvl7_slots_total})*
[/header][@{repeating_spell-7_$X_spellname}](~repeating_spell-7_$X_spell) | [footer]
[/footer]
[/section][section:"spell-8" repeatFilters=name:/./;spellprepared:/1/]
[header]Level Eight *(@{selected|lvl8_slots_expended}/@{selected|lvl8_slots_total})*
[/header][@{repeating_spell-8_$X_spellname}](~repeating_spell-8_$X_spell) | [footer]
[/footer]
[/section][section:"spell-9" repeatFilters=name:/./;spellprepared:/1/]
[header]Level Nine *(@{selected|lvl9_slots_expended}/@{selected|lvl9_slots_total})*
[/header][@{repeating_spell-9_$X_spellname}](~repeating_spell-9_$X_spell) | [footer]
[/footer]
[/section]}} So when you click the generated button its the equivalent of clicking the spell on the character sheet which is great for the most part. For other spells like moonbeam, he would be using a macro that uses the SmartAOE API to roll damage, place the spell on the map, and automatically have enemies roll the save and take damage. My question is if would be possible to have certain spells on the MenuMaker output call other macros/APIs such as SmartAOE while the rest remain as they are now.