quote:
Originally posted by onthecuttingedge2005
Does anybody want to use Multiple Brains with your HAL6, I have successfully converted ZiggysTheWord52b.uhp to a brain extension of HAL6 that uses Directory functions so all .brn files are good.
ZiggysTheWord52b.uhp is now a Plug-in for HAL6 and can be activated or deactivated by checking the plug-in check box in HAL6.
I want to do this with the Original HAL5 and the XTF.
Jerry[8D]
How about in alice in HAL6
some ting like
Rem Type=Plugin
Rem Name=Alice for Hal
Rem Author=Alice for Hal
Rem Host=Assistant
Rem DataFolder=Alice
'
'This is a quick attempt to get the ALICE bot working inside of the Ultra Hal Assistant
'program. The Ultra Hal Assistant prorgam is by far the best interface for AI bots out there.
'It has a great character and speech plugin system and the registered version has speech
'recognition support as well. The actual Ultra Hal AI engine is a very good AI engine too,
'but I wanted to see the ALICE program have a nice interface also. Ultra Hal's plug-in
'interface basically works by ActiveX and VBScript.
'Its kind of a sloppy way of getting everything to work together, but hey, it works. Maybe
'some one with more time on their hands can find a better way to tie Alice and Hal together.
'I think it would be cool if someone would take the best parts of Alice and the best parts
'of Hal and create a super AI program.
'
'Unfortunetely I see no way of having Alice set Hal's emotional variables, so the face is
'always a boring neutral. Also Alice will ignore the ComputerNname variable passed by Hal,
'so no matter what is set In Hal's options, the computer will be called "Alice" I removed
'This, of course is released as open source software. All my source code is included (all
'10 lines, LOL) The source code for the "Active Alice" control I used is available at
'
http://www.windowpane.com/alice/'The original Alice and AIML is available at
http://www.alicebot.org'And Ultra Hal is available at
http://www.zabaware.com'
'I thank Dr. Richard Wallace, Conan Callen, and everyone else who worked on ALICE. And I
'thank Robert Medeksza for creating Ultra Hal and providing me with the installation program
'used in order to install this as an Ultra Hal Assitant plugin.
'Main function which Hal calls to get the response
Function GetResponse(ByVal UserSentence, ByVal UserName, ByVal ComputerName, ByVal LearningLevel, ByRef WorkingDir, ByRef Hate, ByRef Swear, ByRef Insults, ByRef Compliment, ByRef PrevSent, ByRef LastResponseTime, ByRef PrevUserSent, ByRef ScriptMem3, ByRef ScriptMem4, ByRef ScriptMem5)
Set Alice = CreateObject("HalAlice.PlugIn")
GetResponse = Alice.Respond(UserSentence, UserName, WorkingDir, "data\bot.ini", "loglocaluser.txt")
Set Alice = Nothing
End Function
'If the user clicks on the About/Options button for this plugin
'this sub will be called. There are no extra settings for this brain,
'so we'll display an information box
Sub AboutOptions()
Set HalBrain = CreateObject("UltraHalAsst.Brain")
HalBrain.MsgAlert "This is the ALICE plug-in for Ultra Hal Assistant. It allows the ALICE bot program from
http://www.alicebot.org to work together with the Ultra Hal Assistant software from Zabaware."
End Sub
'This sub will be called when the Ultra Hal program starts up in case
'the script needs to load some modules or seperate programs.
Sub Script_Load()
End Sub
'This sub will be called before the Ultra Hal program is close in case
'the script needs to do any cleanup work
Sub Script_Unload()
End Sub