put in command and recieve answer

hello, im trying to make a program that pretty much if enter say a command it will give me the solution. Say if i enter a name such as James, the result would display something about james such as his favorite color. i am trying to make a list of names. So this program should identify the name and give me the favorite color. please help i tried searching this on the web but came up empty...where to start?
Topic archived. No new replies allowed.