Scripts are a key component of the branch of social psychology known as transactional analysis (TA), which no one talks about anymore. Books such as Eric Berne's What Do You Say After You Say Hello? and Claude Steiner's Scripts People Live might be a good place to start for anyone interested.

In a nutshell, in TA scripts are different than you've got them -- they result from longterm persistent low level programming by the parent of the opposite sex. This is quite different from "role model" concepts of early development which emphasize the same-sex parent. And it's not to deny the possible importance of other childhood experiences.

For example, a boy is scripted by his mother. What's her principle example of an adult male? Her father. (This model goes back to before the disintegration of the two-parent family began.) So a mother will tend to script a son to be like his maternal grandfather, possibly emphasizing his good qualities and excising his bad ones, depending on the mother's relationship with her father and her adult perspective.

One implication for men is that they should choose woman as mothers whose father they like, because their sons are going to resemble him in a lot of ways.

In terms of dating, people tend to pair up with those who either further or complement their scripts, the former being the one-sided kind of relationship. If the scripts are good, fine; if the scripts are bad or incompatible, not so good.