To cast a spell, you must first learn
it. To learn spells, you need a high
Wis, and a spellbook.
Apply the spellbook to learn a spell.
To cast a spell, you can either use
the cast or invoke commands.
See "cast" and "invoke".