The Directory Opus scripting interface is built around ActiveX. The advantage of this is that Opus scripting is language neutral - you can use any ActiveX scripting language you have installed on your machine. Windows ships with VBScript and JScript interpreters, and you can add additional languages from third-party providers (e.g. Perlscript, Python, etc).
The scripting interface is presented as a number of Objects and Events.