mission accomplished sort of
its not including user name and other variables but i inserted in default brain the following
'PROCESS: REVERSE CERTAIN CONTRACTIONS AND OTHER SUBSTITUTIONS
'Standardizing on contractions can make Hal sound conversational.
'However, certain sentence constructions don't work well
'if expressed as contractions. For example:
'"I don't know where it is" becomes "I don't know where it's."
'For another example, "That's how he is" becomes "That's how he's."
'To solve these types of cases
'we attempt to modify certain contractions, words, and phrases
'at the end of this function, now that Hal's thinking is done.
GetResponse = HalBrain.HalFormat(GetResponse)
GetResponse = HalBrain.ProcessSubstitutions(GetResponse, "corrections")
MsgBox (GetResponse)
'PROCESS: CALL USER BY CORRECT NAME
'If the user has chosen a nickname or temporary name, call user by that
'otherwise call the user by the username chosen by the host application
my line # 2144 MsgBox (GetResponse) sends hals responce to a messagebox this could be ported to another program for example
R2D2 Translator
(c) Copyright 2008 Roger Meier
All rights reserved
roger.meier@pobox.com
http://freeware.the-meiers.org