I'm programming a text-based role-playing game and my controls work: I have a string that checks what you write in an array of
It can do anything but my pickup right.
My if statement is as follows:
if (PlayerOption //That’s the String// == “blah”)
and this works with one-word commands, but it breaks off when it comes to picking up the two-word command. How can I compare the string with two words?