Creating custom HD Admin server commands: auto-fill

Hey! I am trying to make many custom HD admin commands. For a train tunnel, i want to be able to turn on the tunnel lights using a command like this:

;light location on

I have managed to make commands before. If you input a player name, it automatically shows the matching player names below the cmdbar and if u press enter it applies this command to that player (it automatically fills it in).

What i want to know is:
Is this possible with other strings too? Can i specify strings to autofill?

Thanks in advance and stay healthy