The first half looks ok, but after that, I think you want something like: var name$ input "Give our hero a name"; name$ if name$ =="2" then print "That's a cute name." endif