In this paper we introduce the architecture of the script engine of a collaborative co-located discussion support system, named CoFFEE, and, in particular, we describe its extendibility and flexibility as a macro-script engine for CSCL activities [7].