I got it to work, here is my code... please help me on my question...
http://www.alice.org/community/showthread.php?t=4494
Where it says DISTANCE, SPEEDLIMIT, and TOTAL, that is a Parameter (which you can add by clicking the button on the right that says add new parameter) Make it a NUMBER, then when the person says the answer you have to convert to a string. Make your person say h"hello". Under WORLD FUNCTIONS drag "what as a string" to replace "hello" then add the parameter TOTAL
Methods
world.my first method ( )
Distance = 1 , SpeedLimit = 1 , total = 1
Distance set value to ( ask user for a number question = How many miles away is Hana? )
SpeedLimit set value to ( ask user for a number question = What is the speed limit? )
total set value to ( ( Distance / SpeedLimit ) )
skaterGirl.walk2
Do together
convertibleCorvette move forward 7 meters
skaterGirl turn to face convertibleCorvette
skaterGirl turn to face camera
skaterGirl say ( ( random number minimum = total maximum = total integerOnly = true ) as a string ) duration = 2 seconds
Do together
convertibleCorvette move forward 5 meters
skaterGirl turn right 0.25 revolutions
skaterGirl.walk