Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
13
Task/Sleep/SenseTalk/sleep.sensetalk
Normal file
13
Task/Sleep/SenseTalk/sleep.sensetalk
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
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!"
|
||||
Loading…
Add table
Add a link
Reference in a new issue