I tried it already few times. The program is not detected for sure. So if u running another script not linked with csgo u r safe.
Compiled scripts can get detected because its an .exe
Valve cant ban whole program because it makes no sense. It's like banning for running razer synapse or internet explorer.
I dont know how VAC works exactly but ex.
ESEA anticheat detects ahk no-recoil and bhop scripts because everytime you use this, your crosshair moves exactly the same way.