Thanks for the suggestion. I had forgotten spells could be invoked by number, not just name. After tweaking the code, I was able to get the result I wanted using gawk. Thanks for the great suggestion and the base code for the loop!
Attached is the final product with a banner to remind the player that the mod is active. This should be a useful module for players who wish to use it as a base for complete overhauls of the spell system.
For patch version 3.10, the # of spells goes up to 813.
__________________
If you read his speech at Rice, all his arguments for going to the moon work equally well as arguments for blowing up the moon, sending cloned dinosaurs into space, or constructing a towering *****-shaped obelisk on Mars. --Randall Munroe
Thanks for the heads up. I have not installed the new patch as of yet, but I will definitely get this mod updated as soon as I have a free moment or two.