It work but you have to tweak a lot, and also set the cooldown time to something suitable depending on you lag.
I also do not like a few things about this, like the rotating feature and the part where it tries to find a skill button, could be better.