I'm adding some spell detection to my macros and wanted to see if anyone had snippits to detect spells in their spellbooks. Instead of using INIs I'd like to just detect the needed spells and off it goes. I was thinking of detecting spells by caster level and then using RankName to detect current ranks, but if someone is lazy and never bought spells it would cause some issues.