An improved building automation system is provided which is modular in design thus minimizing the amount of instruction necessary to affect control of a particular building system. A relatively small set of interprocess control commands define an interprocess control protocol which is utilized in relatively high level scripts and control applications. The improved building automation system operates to translate control instructions in one particular control protocol to control instructions in a second control protocol. A text parsing program routes interprocess communication commands between modular communication programs to affect control over the automated building systems. The text parsing program includes executable instructions which allow for conditional communication of interprocess control commands depending upon system events.