Why not split the command string first and check if the first word is 'go'. If it is then check the second word against a separate list of 'go' commands. So you would have two command lists:
let validCommands = ["go , "view", "holler"];
let goCommands = ["rps", "mountains", "hills", "cannons", "left", "east", "west" ];