After getting the string input with LINPUT, you will need to parse the string to turn it into a command. We will stick to simple logic for this example. The simplest way to interpret the string as a command is to compare it to existing command strings in a really big IF statement. If the string matches a command string, then you would execute certain code.