Ok, well my first method is like the guy with the knife, except I scrape it out of the pipe with a paperclip (as in the post above). Then just rub the paperclip on a hot knife/hammered flat spoon and suck the smoke through a funnel.
Or, if its a metal pipe, take out all the rubber washers and what not, and throw it straight on the stove top. Now get 2 preprepared straws (with heat sheilding/tin foil on the end) and a friend. When the first wisps of smoke start to come off, blow into one end of the pipe while your friend sucks at the other end with the straws. Then they blow and you suck, etc etc, kind of like giving each other shotties through the pipe. Me and my friends call this 'smoking the pipe' and its a sure sign that theres no weed to be found, its a real 'heady' stone