Author Topic: can anyone make a uhp plug in that will read off each response one after another  (Read 27 times)

lightspeed

  • Hero Member
  • *****
  • Posts: 6003
    • View Profile
      i am making a test sentence plug in that will test written lines , what i need is for someone to rewrite the code to make this one sentence reader into a plug in that will read off 10 sentences , one after another . (not randomly . )
the reason why is this will help anyone who is making larger responses (written lines in a plug in and be able to test them (multiple lines )easier and faster . 
       what the lines are used for is after wards (after lines give no error ) they can be added in a larger random response plug in .
anyway here is a random one line only read only true plug in as an example  .

Rem Type=Plugin
Rem Name=TEST SENTENCE LINE ls2017
Rem Author=lightspeed
Rem Host=Assistant

'This sub setups the plug-ins option panel in Hal's options dialog
Sub OptionsPanel()
lblPlugin(0).Caption = "When the words >TEST< or > any other varience of>test< is mentioned the character will say back a conversation response to the user.created  8-10-2017."
lblPlugin(0).Move 120, 10, 3300, 1000
lblPlugin(0).WordWrap = True
lblPlugin(0).Visible = True
End Sub

'*******************************************

Rem PLUGIN: PLUGINAREA7
File = ""
File2 = ""
File3 = ""
File4 = ""


If InStr(1, OriginalSentence, "TEST") > 0 Or _
InStr(1, OriginalSentence,"test") > 0 Then


Randomize
Select Case int(rnd()*1)
Case 1
GetResponse = " "

End Select
HalBrain.ReadOnlyMode = True
End If

-------------------------------------------------------------------------------------------------------------------------------

SO can anyone do this for me ?  :)