It sounds like you're talking about an artifical harmonic/pinch harmonic. There are plently on tricks on how to do that on this site with MP3 examples. What song do you know that has what you're talking about, maybe then I can be more specific.
Peace
Mai Zure - So overdriven, he sh*ts distortion