Making auto banner, can't think straight

I am making an auto-banner to ban people from using specific commands. I am using game.ConsoleCommand, but I’m not quite sure how to use it with the ASS_BanPlayer function. In the console,

ASS_BanPlayer Name Length Reason

Any help? Thanks.

Instead of banning them you could just disable the commands.

Where’s the fun in that? I want them to KNOW they did something wrong, and be punished for thinking they can have an advantage over other players.

I think banning someone is going to make them want to fuck with your server more than just simply disabling a command.

Meh, alright then, how would I go about doing this?

wait never mind, now i just need to figure out which player used the cmd…any ideas/help/wiki links that i can NEVER manage to find?

there’s a folder in your data folder called ass_log or something, it has console commands players executed.