Hm, that's a hard one ... what about "all_spells"? By the way folks, there's already a thread on the subject of console commands. Keep it tidy.
Hm.... even if I'm not sure if this is the right post anymore, remember, giving for granted that that code will work, that you won't be able to rise anymore your arcane spellcaster to the next level if you already give them all spells, because you won't be able to complete the level up screen when it ask to choose new spells.