Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Thread Tools Display Modes
Functions and Variables
Posts: n/a
Default Functions and Variables - 04-13-2010, 05:42 AM

I need to create a world which a character asks the user for his/her name, says hello to the person by name, asks how old the person is, then tells the person approximately how many days old he/she is on their next birthday.

In my world I decided to use aliceLiddell. So far this is what I have...

userName set value to ask user for a string question=Hello. What is your name?
aliceLiddell say userName
userAge set value to ask user for a number question=How old are you?
aliceLiddell says userAge as a string

I am having trouble with the age and how old they will be on their next birthday part. Anyone care to help me? Also, how do I make aliceLiddell say "Hello userName" because all that happens now is aliceLiddells repeats the inputted name.

Last edited by crazygreek89; 04-13-2010 at 11:38 AM.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Copyright ©2018, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.