Writing a programme

Employer
[no-member:pro]Konstantin[/no-member:pro]
Project parameters
Type of cooperationOne-time project
SectionSoftware development
Prepaymentwithout prepayment
Payment methodsElectronic money
Acceptance of requestsfrom Mar 30, 2022 until Apr 4, 2022
Project description
Hello, there. Programmer services are required. We need to write a program.
I'll get straight to the point, I need a program written in c#, the essence of the program is that when someone in the live YouTube chat writes "right", "forward", "back", "left", "LKM" and "LKM" I did these actions.
It is desirable that the code should look like this.
If (msg = = = "space")
{Input.GetKeyDown(KeyCode.Space)
?
if (msg = = = "right")
{Input.GetKeyDown(KeyCode.W)
?
and so on.
I understand this is not a very complicated program, but I understand that it will need to use a parser.
I'll get straight to the point, I need a program written in c#, the essence of the program is that when someone in the live YouTube chat writes "right", "forward", "back", "left", "LKM" and "LKM" I did these actions.
It is desirable that the code should look like this.
If (msg = = = "space")
{Input.GetKeyDown(KeyCode.Space)
?
if (msg = = = "right")
{Input.GetKeyDown(KeyCode.W)
?
and so on.
I understand this is not a very complicated program, but I understand that it will need to use a parser.