I found these two scripts in the online section of ez robot script examples. Neither of them are working, not sure why.. Could someone please take a look?
This is say time........
if ($Minute = 0)
$thetime = $hour_word
ELSEif ($minute = 1)
$thetime = "one minute past" + $hour_word
ELSEif ($minute = 15)
$thetime = "quarter past" + $hour_word
ELSEif ($minute = 30)
$thetime = "half past " + $hour_word
ELSEif ($minute 30)
$minute_word = 60-$minute
$thetime = $minute_word + " minutes to " + $hour_word
$thetime = $hour_word + $minute
if ($hour 21)
$thetime = $thetime + " at night"
ELSEif ($hour > 17)
$thetime = $thetime+ " in the evening"
ELSEif ($hour > 11)
$thetime = $thetime + " in the afternoon"
$phrase=("The time is " +$thetime)
ControlCommand("Script Manager", ScriptStart, "Speak phrase")
Sorry not sure how to format this code for the forum. Chris
Upgrade to ARC Pro
Synthiam ARC Pro is a cool new tool that will help unleash your creativity with programming robots in just seconds!
In germany we have 1-24°clock.
I have try this but EZB say "The time is 31".
Do you have a script for europeans?
With Blockly you can create your time really easy.
Oh its in german. Translating here ;-)
Es ist = It is
Stunden und = houers and
Minuten = minutes
I have tested this script and disabled the blocks for PC.