So, I found a way to handle the AI via event coding. While plugin commands are nice and easy for non-coders, they are a one-way communication with the script code. I still had to use scripting on the IF-event-thingy to call functions and get results.
The robots can shoot fireballs if “out of range”, and if “in range” both can do a melee attack. The movement here is random, so don’t expect them to act smart 😛
I’ll have to optimize it later on so it doesn’t lag…