OTC,
Sorry for the delay in posting this, I'm not in much of a hurry anyways. Here is the scripting I'm using, It works with user input and no provisions have been made to include Hals input since it didn't work earlier. I'd like to include Hals input to trigger the loadskin haps'
Displayskindetect ( I created a detect table in the brn, written rather than a picture)
Search Topic
Wear the red blouse Loadskin1
Wear the blue blouse Loadskin2
wear the green blouse Loadskin3
Wear the dress Loadskin4
Code inserted in Hal 6 brn
Line 1827
Displayclothes = Halbrain.TopicSearch(UserSentence, WorkingDir & "Displayskindetect")
Select Case Displayclothes
Case "LoadSkin"
HalCommands = "<HAPFILE>Loadskin.hap</HAPFILE>"
Case "LoadSkin2"
HalCommands = "<HAPFILE>LoadSkin2.hap</HAPFILE>" Case "LoadSkin3"
HalCommands = "<HAPFILE>LoadSkin3.hap</HAPFILE>"
Case "LoadSkin4"
HalCommands = "<HAPFILE>LoadSkin4.hap</HAPFILE>"
' Case "LoadSkin5"
' HalCommands = "<HAPFILE>LoadSkin5.hap</HAPFILE>"
End Select
If Displayclothes <> "" And DebugMode = True Then
DebugInfo = DebugInfo & "A word in the user's sentence has triggered Hal To change clothes " & Displayclothes & VbCrLf
HalCommands = "<HAPFILE>" & HapFile & "</HAPFILE>"
End If
'End of Change skins
Loadskin.hap ( 1 of 4 being used )
#HaptekSDK Version= 1.0 HeaderLines= 2 HapType= command FileType= text
#Name= haptek_scene Icon= [ websters_icon ]
load [file= [D:HalA6Ultra Hal Assistant 6CharactersSSRed.jpg]]