Running a console command through lua help

Hey i need help. I want to make a command where a player types !lol and their DarkRP job name changes to lol.
I was going to use this.

 ply:ConCommand( " say /job LOL ") 

But it doesn’t work…
I get no errors and i can’t find the answer anywhere.
Please could somebody help me? Thanks

Why is there a space before say?

Remove the space before say

What you are doing is, I am sorry but, dumb. What you should do is find a function, something like setJob, or setCustomJobTitle or whatever and call that instead.

Whups… i was in a hurry to type it and i accidentally did it.
It still doesn’t work though :stuck_out_tongue:

Use this instead.