Episode 235: "The Quality of Life" 

Geordi is assigned to survey the station core of a new mining development with Dr. Farallon, the scientist who is developing the technology. When a dangerous problem suddenly occurs in the power grid, Farallon chooses the moment to introduce Geordi to an exocomp, a device she constructed that quickly restores the power grid to its normal state. Later, Farallon explains the intricacies of the exocomp to Data, pointing out that the device not only replicates tools, but can also solve a myriad of problems. This convinces Picard to allow Farallon to use the exocomp to repair the mining system, with Data assisting her. The device initially performs its tasks without error, but suddenly becomes unresponsive to commands just before an explosion occurs in the plasma conduit
Back on the Enterprise, Farallon explains that the exocomp has malfunctioned and is unusable. She and Geordi choose to continue their work with two other exocomps, while Data, who is intrigued by his fellow machine, takes the faulty item back to his quarters. He is surprised when, a short time later, the exocomp repairs itself. Just as Geordi and Farallon are about to leave, he rushes in and tells them they must stop because the exocomps are alive.

During a meeting with the staff, Data explains that the exocomp shut itself down just before the explosion in the plasma conduit, indicating that the machines are capable of self-protection. The staff tests Data's hypothesis by putting a device in simulated danger, and Data appears to be proven wrong when the exocomp completes its task. But Data remains unconvinced, and after repeating the experiment several times, discovers that the exocomp knew the test was only a simulation and acted accordingly.

Picard, Geordi and Farallon return to work at the station core, but soon learn they've lost internal confinement and are risking exposure to dangerous radiation. Farallon and several workers are able to transport back to the Enterprise, but Geordi and Picard are left behind. With no other solution, Riker asks Farallon to transport the exocomps to the station to save the men. She agrees, but Data refuses to allow her to do so and locks out the transporter controls.

Claiming he can't justify sacrificing one life to save another, Data holds firm. Riker is able to convince him to compromise by allowing the exocomps to "choose" whether or not to risk their lives. To everyone's surprise, the exocomps come up with their own plan that saves Picard and Geordi and only sacrifices one of the three machines. The crew is left to ponder what they have witnessed, while Data is pleased that he could act as an advocate for these forgotten "living" things.

Production: 235
Season: 6 Episode: 9
Original Air Date: 11.16.1992
Stardate: 46307.2
Patrick Stewart as Jean-Luc Picard
Jonathan Frakes as William Riker
Brent Spiner as Data
LeVar Burton as Geordi La Forge
Michael Dorn as Worf
Gates McFadden as Beverly Crusher
Marina Sirtis as Deanna Troi
Ellen Bry as Dr. Farallon
David Windsor as Trans. Chief Kelso
Majel Barrett as Computer Voice
Running for seven seasons, the show briefly held the record for longest-running American live-action science fiction TV series (though several fantasy series ran longer). It was soon tied by its spin-offs "Star Trek: Deep Space Nine" (1993) and "Star Trek: Voyager" (1995). In 2002, the record was taken by "The X Files" (1993) which ended after nine seasons. "Stargate SG-1" (1997) has confirmed a 10th season, taking the record.

Lt. Worf is the longest-running character in the history of Star Trek. He appeared in all seven seasons of "Star Trek: The Next Generation" (1987), four seasons (starting with the fourth) of "Star Trek: Deep Space Nine" (1993), and all four Next Generation films. In addition, Michael Dorn played Colonel Worf, the attorney defending Kirk and McCoy, in the sixth Star Trek film, Star Trek VI: The Undiscovered Country (1991).

Click this link to view the complete script in a TXT format

                STAR TREK: THE NEXT GENERATION 
                              
                     The Quality of Life" 
                          #40276-235 
                              
                          Written by 
                         Naren Shankar 
                              
                          Directed by 
                        Jonathan Frakes 
THE WRITING CREDITS MAY NOT BE FINAL AND SHOULD NOT BE USED
FOR PUBLICITY OR ADVERTISING PURPOSES WITHOUT FIRST CHECKING
WITH THE TELEVISION LEGAL DEPARTMENT.
Copyright 1992 Paramount Pictures Corporation. All Rights
Reserved. This script is not for publication or
reproduction. No one is authorized to dispose of same. If
lost or destroyed, please notify the Script Department.
                         FINAL DRAFT
                      SEPTEMBER 28, 1992
       STAR TREK: "The Quality of Life" 09/28/92 - CAST 
                STAR TREK: THE NEXT GENERATION 
                     "The Quality of Life" 
                             CAST                               
                              
                PICARD             FARALLON
                RIKER              KELSO
                DATA               
                                   TECHNICIAN (COM VOICE)
                BEVERLY            
                TROI               
                WORF               
                GEORDI             
                COMPUTER VOICE   
  
                Non-Speaking       
                  SEVERAL N.D.'s     
                  N.D. NURSE         
      STAR TREK: "The Quality of Life" - 09/28/92 - SETS 
                STAR TREK: THE NEXT GENERATION 
                     "The Quality of Life" 
                      
                             SETS 
            INTERIORS                  EXTERIORS
          
            USS ENTERPRISE             USS ENTERPRISE
              MAIN BRIDGE
              TRANSPORTER ROOM         SPACE STATION
              ENGINEERING
              JEFFRIES TUBE
              READY ROOM
              DATA'S QUARTERS
              TEN FORWARD
              SICKBAY
              OBS. LOUNGE
          
              STATION CORE


 

Click this link to view the complete script in a TXT format