So im trying to create a spellbook for my PC's that shows what spells there have prepared however I dont know enough to write my own code and all the other codes I cant seem to follow. At the moment this is as far as i have gotton with the spellbook code: /w "@{selected|character_name}" &{template:atk} [[ {{desc=***@{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) | [@{Selected|repeating_spell-cantrip_$3_spellname}](~Selected|repeating_spell-cantrip_$3_spell) | [@{Selected|repeating_spell-cantrip_$4_spellname}](~Selected|repeating_spell-cantrip_$4_spell) | [@{Selected|repeating_spell-cantrip_$5_spellname}](~Selected|repeating_spell-cantrip_$5_spell) ** 1st Level ([[@{selected|lvl1_slots_total}-@{selected|lvl1_slots_expended}]]/@{selected|lvl1_slots_total}) spell 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) **2nd Level ([[@{selected|lvl2_slots_total}-@{selected|lvl2_slots_expended}]]/@{selected|lvl2_slots_total}) spell 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) | [@{Selected|repeating_spell-2_$4_spellname}](~Selected|repeating_spell-2_$4_spell) **3rd Level ([[@{selected|lvl3_slots_total}-@{selected|lvl3_slots_expended}]]/@{selected|lvl3_slots_total}) spell slots** [@{Selected|repeating_spell-3_$0_spellname}](~Selected|repeating_spell-3_$0_spell) | [@{Selected|repeating_spell-3_$1_spellname}](~Selected|repeating_spell-3_$1_spell) | [@{Selected|repeating_spell-3_$2_spellname}](~Selected|repeating_spell-3_$2_spell) **4th Level ([[@{selected|lvl4_slots_total}-@{selected|lvl4_slots_expended}]]/@{selected|lvl4_slots_total}) spell slots** [@{Selected|repeating_spell-4_$0_spellname}](~Selected|repeating_spell-4_$0_spell) | [@{Selected|repeating_spell-4_$1_spellname}](~Selected|repeating_spell-4_$1_spell) | [@{Selected|repeating_spell-4_$2_spellname}](~Selected|repeating_spell-4_$2_spell) **5th Level ([[@{selected|lvl5_slots_total}-@{selected|lvl5_slots_expended}]]/@{selected|lvl5_slots_total}) spell slots** [@{Selected|repeating_spell-5_$0_spellname}](~Selected|repeating_spell-5_$0_spell) | [@{Selected|repeating_spell-5_$1_spellname}](~Selected|repeating_spell-5_$1_spell) | [@{Selected|repeating_spell-5_$2_spellname}](~Selected|repeating_spell-5_$2_spell) | [@{Selected|repeating_spell-5_$3_spellname}](~Selected|repeating_spell-5_$3_spell) **6th Level ([[@{selected|lvl6_slots_total}-@{selected|lvl6_slots_expended}]]/@{selected|lvl6_slots_total}) spell slots** [@{Selected|repeating_spell-6_$0_spellname}](~Selected|repeating_spell-6_$0_spell) | [@{Selected|repeating_spell-6_$1_spellname}](~Selected|repeating_spell-6_$1_spell) }} So if anyone can help me so that it shows prepered spells only or just mark prepered spells that would be great thank you.