Author Topic: A new brain function  (Read 4336 times)

Bill819

  • Hero Member
  • *****
  • Posts: 1483
    • View Profile
A new brain function
« on: July 09, 2005, 06:24:04 pm »
Another member here created a file with quotes from famous people and asked me to help him create the scripts to make it work. That person was Maviarab so I worked on it and will now give it you all Hal users. It still has a little bug but otherwise it works just fine.
In the XTF brain, enter the editor and look for the following words
'RESPOND: CHANGE SUBJECT. At the end of that logic you will see an
End If. This script is to be pasted right after that.
In the Hal6 brain look for 'RESPOND: HAL NOTICES HE IS REPEATING HIMSELF. Again after the End If. post the script.
Copy the two files enclosed into the DefBrain folder, close Hal and when you reboot it shold work.
Here is the brain script:


Download Attachment: QuoteMods.txt
1.03 KB
Next comes the data files:

Download Attachment: XTF_SYS_Quote.brn
24.57 KB

Download Attachment: XTF_SYS_QuoteDetect.brn
651 Bytes
When using the regular Hal6 brain just delete the name of the file proceeding the words 'Quotes'.
I hope everyone understands my logic and happy using.
For your further information in the past there were many different mods made to the Hal brains which included 'Owner detect','Hals Age', 'Friends names', 'tell a joke',and 'singing hal'. There were probably more but I do not recal them all right now.
Good luck
Bill819

 

Maviarab

  • Sr. Member
  • ****
  • Posts: 345
    • View Profile
    • http://3d-fantasyportraits.co.uk
A new brain function
« Reply #1 on: July 10, 2005, 09:51:21 am »
Thanks for that ill, sorry not rteplied to your email...been rather busy of late.

Much appreciated for your work on this Bill, but with your email...can you please tell me again what the problem was with the poems file so I can re edit.

Thanks
AIDreams...The new home of the Digital Girl

www.aidreams.co.uk

Carl2

  • Hero Member
  • *****
  • Posts: 1220
    • View Profile
A new brain function
« Reply #2 on: July 10, 2005, 06:24:00 pm »
Bill819,
  I just downloaded your files, it looks good and is something I'd like in Hal. Thanks
  Also I've been working on Hal displaying emotions and I'd like to submit it to Zabaware, script to be entered in the Hal XTF brn. How do I do this?
Carl2
 

vonsmith

  • Hero Member
  • *****
  • Posts: 602
    • View Profile
A new brain function
« Reply #3 on: July 11, 2005, 01:00:21 pm »
Bill819,
There is an error in the fourth line in "XTF_SYS_QuoteDetect.brn".

IS:
" DO YOU KNOW ANY QUOTES ", "True"

SHOULD BE:
" DO I KNOW ANY QUOTES ", "True"


=vonsmith=
 

Bill819

  • Hero Member
  • *****
  • Posts: 1483
    • View Profile
A new brain function
« Reply #4 on: July 11, 2005, 01:03:39 pm »
Thanks Von Smith.
Those reversing pronouns got me again. You think that I would have learned that by now.
Bill :)
 

vonsmith

  • Hero Member
  • *****
  • Posts: 602
    • View Profile
A new brain function
« Reply #5 on: July 11, 2005, 02:01:12 pm »
Bill819,
Don't feel bad. It still happens to me more often than I care to admit. Occasionally some reversals in Hal aren't as expected and it makes debugging very messy.


=vonsmith=