I pride myself on knowing these kinds of things, and you've stumped me! Are there any other details you remember? Maybe something about the time periods he traveled to, or specific dialogue? It sounds like something that would air on a late-night movie marathon.
Could be Battlestar Galactica with the 'So say we all' chant or Star Trek with its myriad memorable lines. Heck, maybe even Doctor Who with 'Don't blink.' Gotta narrow it down more, space cowboy!