Player.addspell

This has the same concept of player.additem except you get a spell and do not have to put the number after the code to get it.