This command allows a magic-user who is holding a spellbook to attempt to
memorize it when he or she is holding it in hand. If successful the mage
will learn a new spell.
Spellbooks are not all useable for every mage, some are restricted to only
some classes. All spellbooks with random spells repop randomly on various
mobs that are usually the most likely to carry them. All mobs that appear
with a spellbook will be holding it on repop.
For spells that contain more than one word (eg, improved armor) you should
use the ' quotes.
eg, memorize 'improved armor'
A 'read magic' spell should be cast upon the spellbook to first discern
which spell it contains. Hidden protective wards may be on some books,
as well, erupting at the mage who would otherwise learn the spell.
See also: help 'read magic'