Not sure if you understand what Ahk is.
Ahk (AutoHotkey) is a program designed to mainly emulate different keystrokes, or perform different entire scripts using a macro/hotkey.
There is no way you used an ahk script that had wallhacks. Whatever you were using, it wasn't ahk.