GMod Commands Help

So I have been playing TTT a lot and I would like to make a command that says “(player you aim at) is a Wizard.” I know it is possible, don’t tell me it isn’t (I hope it is possible). I have been looking for a file that has all the commands in them, they have to be stored somewheres, right?? … I am confused and need help and hopefully someone will come of use.

I have been looking for this file for hours … Comon someone help >.<