"Thanks for the Memory" is the third episode of Red Dwarf series two and the ninth in the series run. It premiered on BBC2 on 20 September 1988. Written by Rob Grant and Doug Naylor, and directed by Ed Bye, the episode has the Red Dwarf crew investigating how, and why, they lost four days from their memory. There was some controversy for sharing similar plot to a Star Trek: The Next Generation episode that aired a couple of years later. The episode was re-mastered, along with the rest of the first three series, in 1998.
It is Rimmer's (Chris Barrie) death-day, and a party is arranged for him on a convenient planetoid. Back on Red Dwarf, he drunkenly confides to Lister (Craig Charles) his one single solitary sexual encounter with Yvonne McGruder, the ship's female boxing champion. Lister feels sorry for Rimmer, and decides to do something about it. But a more worrying problem arises the following morning when he and Cat (Danny John-Jules) both wake up with a leg in plaster. Lister's...
full article at wikipedia