I just churned out an xPL driver for the j9 Automation Engine. I don't use the application, but it seems like a great automation package and it's feature set is rapidly growing. Here it is.
Below is a sample script in the AE rule engine. It's triggered whenever an xPL message is received by the driver. Depending on the fields in the message, it will parse the message body and issue an xPL command in response.