Nevermind, I found it. It wasn't a spell at all. It was the Pipes of Pain in the DMG. No wonder it took me so long to find it, I was looking in the wrong book.