It's a quote from an old STAR TREK blooper reel. In the episode "The Changeling," Captain Kirk decided to beam Nomad (a human/alien probe hybrid) aboard the Enterprise. I don't remember what Scotty's actual line was supposed to be, and obviously James Doohan forgot, because that's what came out of his mouth.
In other words, just taking the piss.