How would I make a "blacklight"?

Hi, I was wondering how I would make a “blacklight” using the flashlight from the “realisticrendering” demo. Like for example, id want a text, texture, or even a painted on set of letters or numbers and make them only visible when you shine the flashlight on it?

This can be done by passing the position of where your flashlight beam hits into material and using a sphere mask material function there to control opacity, or something like that.