restrict some console commands to some fretta classes?

^^ Just what the title says.

How do I restrict console commands from being used by certain player classes in fretta?

Check the senders class serverside in each console command.

ok… I figured that, but I can’t find how to get a player’s individual class. all i can find is team.class() or class.get().