also darcy this is the uhp file used .
Rem Type=Plugin
Rem Name=Wikipedia lookup
Rem Author=Darcy Anne Edwards (DAE) 10/27/2008
Rem wikipedia(Lookup) command
'
Rem Host=Assistant
'
rem
'
'This sub setups the plug-ins option panel in Hal's options dialog
'
Sub OptionsPanel()
lblPlugin(0).Caption = "For Wikipedia use 'lookup'."
lblPlugin(0).Move 120, 120, 3300, 1000
lblPlugin(0).WordWrap = True
lblPlugin(0).Visible = True
End Sub
Rem PLUGIN: PLUGINAREA1
If InStr(1, LCase(UserSentence), "lookup ", 1) > 0 Then
SearchKeywords = LCase(Replace(Trim(HalBrain.AlphaNumericalOnly(HalBrain.ExtractKeywords(UserSentence))), " ", "_"))
SearchKeyWords = Replace(SearchKeywords, "lookup_", "")
SearchEngine = "http://en.wikipedia.org/wiki/"
HalCommands = HalCommands & "<RUNPROG>" & SearchEngine & SearchKeywords & "</RUNPROG>"
GetResponse = GetResponse & "I will lookup '" & SearchKeywords & "' in Wikipedia. "
End If
is this the right complete one ?? or is their an updated version as mine doesn't seem to work right .