Quick item...
In your MainLoop:
if c in #menubutton
{
gosub #menubutton
}
else
{
gosub castSpell #menubutton
}
set #menubutton n/a
}
Consecrate, Sacred Journey, Confidence, etc all contain the letter "C" thus would trigger the "if c in #menubutton" criteria and fail since the script would look to gosub to the subs of the same names which don't actually exist.
X