hey oncuutingedge2005 i copied your uhp plug in and tried to use it again the way you said but it still didn't give the phrase that it was corrected
i replced the capital r in replace ( as i don't use caps sometimes ) below is the plug in is something out of place in my coppy causing it not to work??
Code: [Select]
Rem Type=Plugin
Rem Name=Corrections Tutor
Rem Author=Gerald L. Blakley A.K.A OnTheCuttingEdge2005
Rem Host=Assistant
'This sub setups the plug-ins option panel in Hal's options dialogSub OptionsPanel()
lblPlugin(0).Caption = "Corrections Tutor, To Use: replace (wrong word or phrase) With (right word or phrase). without the parenthases and ended with a period"
lblPlugin(0).Move 120, 10, 3300, 1000
lblPlugin(0).WordWrap = True lblPlugin(0).Visible = TrueEnd SubRem PLUGIN: PLUGINAREA7'Corrections tutor by Gerald L. Blakley
If Tutor = "" Then Tutor = HalBrain.SearchPattern(OriginalSentence, "*REPLACE * WITH *.", 2)
If Tutor2 = "" Then Tutor2 = HalBrain.SearchPattern(OriginalSentence, "*REPLACE * WITH *.", 3)
If Tutor <> "" And Tutor2 <> "" Then HalBrain.AddToTable "corrections", "Substitution", " " & Tutor, " " & Tutor2
GetResponse = " I have made this correction. "
End If