I think people in general discussion are more likely to help you. AutoHotkey isn’t being used for roleplay so people here (including myself) probably have no clue what are you even talking about.
I think that is against ToS, yes. As a rule of thumb, each button press should do only one action per client that you have open (which I believe is the reason they removed the capacity to cast entire spell sequences in a macro many many years ago).