So I loaded a single hap file.
#Haptek Version= 1.00 Name= Hap_Angry HapType= script FileType= text
##standard
clock [t= 0] setswitch [switch= h_gest_03 state= a ]
clock [t= 0] setswitch [switch= hand_thru_hair state= a1 ]
..........................
And the results is that it worked great!
Then I tried this
..........................
#Haptek Version= 1.00 Name= Hap_Angry HapType= script FileType= text
##standard
clock [t= 0] setswitch [switch= h_gest_03 state= a ]
clock [t= 1] setswitch [switch= hand_thru_hair state= a1 ]
..........................
And it would not load the second line. I then tested this on changing to different backgrounds and the same thing happened. Whenever I set the clock to anything about 0 then it would not be read.
..........................
So then I thought maybe I could do this in Hal.
HalCommands = "<HAPFILE>" & "touchhair.hap" & "</HAPFILE>"
HalCommands = "<HAPFILE>" & "Wild.hap" & "</HAPFILE>"
But that just loaded the second hap file and not the first.
So then I thought that maybe we could load a haptar that has a hap file compressed in it, like one of Nige's. But When I finally got one to load, it only loaded the background and the haptar but not the actual movie or song.
I had success with this command:
HalCommands = "<HAPFILE>" & "WillieNelson.htr" & "</HAPFILE>"
But not with this one:
setperson [ figure= "C:/Program Files/Zabaware/Ultra Hal Assistant 6/Characters/WillieNelson.htr"]
But like I said before it didn't actually play the movie.
So I come to the conclussion that a hap cannot contain the clock function, cannot be played one at a time, and connot be ran through a compressed haptar.. in Hal. Which means that a long hap like the one you propose is not possible undercurrent conditions.
Of course, I didn't actually try everything. So there is a possibility of a command that makes all this possible or that I made a mistake in syntax somewhere.
You can add this to your plugin insteed of actually calling up a hap file.
<HAPTEXT>Hap text</HAPTEXT>
Never tried it...
HalCommands = "<HAPTEXT> setperson [ figure= " & Chr(34) & "C:/Program Files/Zabaware/Ultra Hal Assistant 6/Characters/WillieNelson.htr" & Chr(34) & "]</HAPTEXT>"