United Kingdom
Asked — Edited
Resolved Resolved by Rich!

Script To Get My Robot To Say His Age

Hi guys.

I need a little help with some script. As the title says, I would like to get K-9 to say his age when somebody asks him. For example,

User. "how old are you?"

K-9. "I am 1 year, 2 months, 5 months and 2 days old."

It will obviously need a start date (Date of Birth) then have the script work out the age from that, but so far this weekend I have had a play around with a "Say the Date" script with different variations but have had no luck with it. Does anyone have a script that can be used to do this?

Thanks in advance,

Steve G.


ARC Pro

Upgrade to ARC Pro

Take control of your robot's destiny by subscribing to Synthiam ARC Pro, and watch it evolve into a versatile and responsive machine.

United Kingdom
#9  

Just one more thing I want to ask to get a better understanding of how EZ Script works, like ( ) defines ports ect and " " sets speech or speech commands, what does (in laymans terms :P) the "$" sign mean, or rather what does it actually do? I think that's where I was initially having trouble.

#10  

$ tells ARC a variable is to follow. In other words this is ARC's way of identifying a variable to be used....

EDIT variable or constant I should say...