added a check command to the spellup plugin

It checks various information and flags. This can be
used to see why spells aren't being cast.