Took a walk into my haplab last night.
Fixed some little jewels for you.
This first helps Hal to better express herself.
Let say you get upset with her (and who of us doesn't at times) and so you call her a dumbhead.
(the triggerword is "dumbhead")At this point she will tell you something like
"<UserName> I am not a dummy. Please go away"
and she will turn her back to you.
(Only the head hapteks will turn around, Fullbodys will respond but not turn) Now you have a few options at this point to make her turn back around, you can say any of the following:
1. "I'm sorry"
2. "I bought you a new dress"
3. "Here is my credit card"
4. "Honey, I am buying you a red BMW"
5. "Please accept this deed to my house"
6. "I have decided to become your slave"
(or you can do nothing as she automatically turns back around in 10 seconds)'Now to install this find the following paragraph in Hals brain (about line 0140)
'PROCESS: INITILIZE VARIABLES AS INTEGERS
'VBScript doesn't allow you to declare variables in advance
'as a particular data type; everything is a Variant.
'We must assign integers to the following
'variants so that data type errors don't occur
If LearningLevel = "" Then LearningLevel = 3
If Hate = "" Then Hate = 0
If Swear = "" Then Swear = 0
If Insults = "" Then Insults = 0
If Compliment = "" Then Compliment = 0
If GainControl = "" Then GainControl = 25
If TopicFocus = "" Then TopicFocus = 1
AvoidBeingFlag = False
Randomize 'Now skip a space and paste in the following paragraph.
If InStr(UserSentence, " dumbhead ") <> 0 Then
HalCommands = "<HAPFILE>turnback.hap</HAPFILE>"
GetResponse = "<UserName>, I am not a dummy. Please go away."
BlockSave=True
GetResponseBlock = True
End If Now download the following attachment, unzip it and drop into your Characters files where all the other haps are.
Download Attachment: turnback.zip786 Bytes
(this hap file can also be drag and drop on a haptek stand-alone or into hal via Haptek Console if you using HapLogCtrl)
Enjoy.
[

]