Hey, as I mentioned before, I'm working on the scripting API that should allow you to write your scripts/bots (PTS, raids, etc.). I already implemented most of the things that I wanted, and right now, we're trying to test everything. The scripting API is going to be available only to premium users. To get some idea about how this API looks like I wrote some short docs that describe how to use it + some examples.
For now, there is still no ETA.