There was a plug-in or script for Hal 5 but it was largely dependent upon how one asked Hal the question. How old are you? What is your age?
One would get two different answers as one age (10, I think) was hard coded into Hal's core, the other (user designated) was due to the script. I might have it around somewhere....
With Hal 6, just go to OPTIONS, BRAIN
Select the Brain file.
Window should open on the right side.
The 5th or 6th item should read:Gender and Age
Put a check in that box and down below a drop down should appear as
Birthday (select a date)
Gender (Male, Female, Neutral Machine - no gender)
There you go!!