Lingo, Director's scripting language, adds interactivity to a movie. Use Lingo to control a movie in response to specific conditions and events. For example, Lingo can play a sound after a specified amount of the sound has streamed from the Internet.
Use the Script window (Fig. 3.8) to write and edit scripts. (Window > Script or Command-O will display this window
Macromedia Director Script Window
For an a very good introduction to scripting, see the Lingo basics tutorial movie and online help..