script (scripts)

In the behaviorism approach to psychology behavioral scripts are a sequence of expected behaviors for a given situation. For example, when an individual enters a restaurant they choose a table, order, wait, eat, pay the bill and leave. People continually follow scripts which are acquired through habit, practice and simple routine. Following scripts is useful because it saves time and the mental effort of figuring out an appropriate behavior each time a situation is encountered.

Scripts (artificial intelligence), a structure for representing procedural knowledge
Script (performing arts), the dialogue and instructions for a play, musical or other performance work;
Script (recorded media), the dialogue and instructions for a film or television programme;