How the procedure goes: (The following)
1) Start the game + AHK
2) Play Multiplayer or Terrorist Hunt
I: If you play Multiplayer, you will not be banned until you are actually in game. By in game, I mean after you picked your operaters.
II: In Terrorist Hunt, you will not be kicked for using AHK. (I haven't tested the Terrorist Hunt Multiplayer yet)
In short: I think it's safe to say that .ahk is officially detected and it will cause you an instant BAN
By the way, the farm is working just fine. No sight of getting banned. Use at your own risk though.