No, this is not what I need. Jobname(Class) returns me the name of the class you are, not the class that other players are.
And yes I read the script_commands...
I would not have opened a topic if I had found what I asked for.
I found the logic I wanted, thank you for your attention.