Since this is about AHK, I'm going to move it to the software forum.

AHK scripts are not known to be newbie friendly, sadly. >.< If you can, try to make in-game macros and leave AHK to just act as a multiplexer.