I'll start of by stating I know absolutely no python, C+ or any computer language that is remotely applicable to Ace of Spades. So this entire idea could be absolute rubbish. Regardless, here it is:
Whilst waffling around with some Fortran95 random number generators I had the thought that your standard aimbot it would aim for a set spot on the head hitbox as building a random algorithm into these things would be a pain and (presumably) cause a delay in the shot rendering the aimbot a tad useless.
So the idea would be to somehow detect where about on a headshots hitbox a shot is. With some nifty script one could look into where exactly headshots are being hit and with what frequency which could suggest someone using an aimbot. I wouldn't say this is a fullproof idea (if feasible at all), but it would certainly give a potential warning that someone might up to something fishy when they would otherwise go unnoticed.
So all you script monkeys, share you knowledge!