The text is a humorous reference to the teleportation technology in 'Star Trek' where Scotty is often asked to 'beam up' people, meaning to teleport them. The joke is that instead of the person, only their clothes are teleported. It does not rely on different meanings of a word or similar-sounding words.
" Very funny , Scotty . Now beam up my clothes . "