To make or write a script.
Planned.
It was a carefully scripted meeting, just to allow Tom to meet Jane.