when casting spell, without reagent you get the defname of missing reagent in the sysmessage if override in messagges spell_try_noregs "You lack %s for this spell" you see correctly the name of reagent