I am wanting to create a multiple (maybe up to 10 words trigger line scripts and am not sure if this is the right way to do it . if this is not the right way please show me how and explain why it has to be a different or the shown way .
example :
If InStr(1, OriginalSentence, "recipe for") > 0 _
Or InStr(1, OriginalSentence,"recipe for ") > 0 Then
Randomize
Select Case int(rnd()*5)
Case 1
GetResponse = ""
Case 2
GetResponse = ""
Case 3
GetResponse = ""
Case 4
GetResponse = ""
Case 5
GetResponse = ""
End Select
HalBrain.ReadOnlyMode = False
End If
MY QUESTION IS CAN IT BE DONE THIS WAY :
If InStr(1, OriginalSentence, "recipe for") > 0 _
Or InStr(1, OriginalSentence,"recipe for ") > 0 Then
Or InStr(1, OriginalSentence,"recipe for ") > 0 Then
Or InStr(1, OriginalSentence,"recipe for ") > 0 Then
Or InStr(1, OriginalSentence,"recipe for ") > 0 Then
Or InStr(1, OriginalSentence,"recipe for ") > 0 Then
THIS DOESN'T LOOK RIGHT TO ME EXCEPT FOR THE LAST SENCES USING THE > 0 Then .
Any idea on a correct way to do this ?
Art? cuttingedge2000? etc.