The only feasible way to do it right now (that I know of) is to monitor the story text for special characters and act when they appear. See this thread for an example.
I’m working on an actual solution, but it takes at least a couple of months before it’ll be available.