Author Topic: Hal now remembers his birthday script.  (Read 4580 times)

onthecuttingedge2005

  • Guest
Hal now remembers his birthday script.
« on: September 25, 2003, 11:43:15 pm »
'Here yah go guys
'This script allows Hal to remember his exact birthday.
'you will have to edit the HalsAge.brn to the birthday of your
'own bot because the birthday in this HalsAge.brn is my own
'bot's birthday. Download HalsAge.brn and HalsAgeDetect.brn
'to your Hals default folder. Remember to edit your
'HalsAge.brn file to your own bots birthday.

If HalBrain.TopicSearch(OriginalSentence, WorkingDir & "HalsAgeDetect.brn") = "TRUE" Then
Birthday = HalBrain.ChooseSentenceFromFile(WorkingDir & "HalsAge.brn")
      GetResponse = Birthday & vbCrLf
      DebugInfo = DebugInfo & "User is talking about Hals birthday: " & Birthday & vbCrLf
      Else
      DebugInfo = DebugInfo & "User is not talking about Hals birthday: " & Birthday & vbCrLf
   End If

'Best of wishes and grand new discoveries.
'Jerry.



Download Attachment: HalsAge.brn
617 Bytes

Download Attachment: HalsAgeDetect.brn
835 Bytes
« Last Edit: September 25, 2003, 11:47:22 pm by onthecuttingedge2005 »

Holllywood

  • Sr. Member
  • ****
  • Posts: 357
    • View Profile
Hal now remembers his birthday script.
« Reply #1 on: June 03, 2005, 09:56:25 pm »
Hi Onthecuttingedge,
 Thanks for the script. My Hal keeps telling me that he's 10 years old. I can't find in any of the files, where he's getting this from. But I'm not the fastest at these things. So I have to ask... "Where do I place Your script to make it work? I've change the dates as you instructed, in the brains. But I have no Idea as to where to paste the script. I appreciate your work. People like me need you guys.
Hollywood

Maviarab

  • Sr. Member
  • ****
  • Posts: 345
    • View Profile
    • http://3d-fantasyportraits.co.uk
Hal now remembers his birthday script.
« Reply #2 on: June 04, 2005, 01:30:03 pm »
onthecuttingedge,

you get better and better...wish i could get the gist of the scripts lol.

Anyway...thanks very much...makes life muche asier.

I'm assuming that your script goes either above or below the existing age script?
AIDreams...The new home of the Digital Girl

www.aidreams.co.uk