You like the same foods as me?

Run some MiniScript code right in your browser!

// My second script that really do something. //It asks to you which of these kind of food you like best, //and replies you according to my opinion. print "" print "1. Spaghetti" print "2. Soup" print "3. Rice with something" print "4. Beef" print "5. Vegetables" food = input("Which of these foods you like best? Type the corresponding number.") if food == 2 then print "I looove soup!" else if food == 1 then print "I like spaghetti, but not so much as soup." else if food == 3 then print "I also like rice with beams and something like lettuce." else if food == 4 then print "I don't like beef." else if food == 5 then print "I love vegetables!" else print "It's not an option!" end if end if end if end if end if

Help & Information