Forum:Spell/traps that activate when sent to the graveyard

I want to use magical hats effect to get spell/traps destroyed and then activate any effects they may have. What cards have effects like this?