Julix posted an example macro in the Pathfinder character sheet thread that would put a template into the chat window with buttons for all of your character's spells; since we just had a player ask for help in getting it to work, I wrote an API script to generate the macro automatically. The usage is pretty simple: select a token, then use the
"!generate-spellbook" API command. You can give it two optional
parameters, separated by spaces. In order, they are: Spell class to generate the macro for. This is just the class number, as it appears in the Spells tab. This defaults to -1, which will include all spells. Name
of the character ability to put the macro in; defaults to "Spells". If
the character already has an ability with that name, Because I'm a lazy bastard, you can't specify the ability name without also specifying the spell class. To generate a spellbook for the class you have as spell class 0, with the default ability name: !generate-spellbook 0 To generate a spellbook for all classes in an ability called "Spellbook": !generate-spellbook -1 Spellbook Hope someone finds this useful!