ask "How long would you like to sleep?" message "Your answer may include any duration, such as 5 seconds, 2 hours, or even 3 centuries!" get the value of it if it is a duration then put it into sleepyTime else answer "Sorry, that wasn't a valid duration!" exit all end if put "Sleeping for " & sleepyTime & "..." wait sleepyTime put "Awake!"