AFTER CHANGING THE ALICE PLUGIN TO :
'FUNCTION : ALICE RESPONSE :
'Main function which Hal calls to get the response
Function GetResponse2(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")
GetResponse2 = Alice.Respond(UserSentence, UserName, WorkingDir, "data\bot.ini", "loglocaluser.txt")
Set Alice = Nothing
End Function
HOW Would I CALL this Function From The script
TURNING XTF & ATF & ZIGGY plugins into SUBS/FUNCTIONS
then dealing with Relevancey. between the responses
MAYBE THIS WOULD GIVE MORE CONTROL OVER THE RESPONSE THAT HAL GIVES.
instead of 3 or 4 CHAINED responses (all on the same topic), Gigantic response.
ANY IDEAS ISMAEL