Text this: An Extensible Dialogue Script for a Robot Based on Unification of State-Transition Models