Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ramccoid

Pages: 1 [2] 3 4 ... 21
16
Programming using the Ultra Hal Brain Editor / Editing Tables
« on: November 16, 2008, 08:36:43 am »
quote:
I looked around from the Brain Editor, first in standard mode, then in advanced mode. Is there a way to find these tables, and remove them? Is it safe to do this?


Hi CypherGary,
If you look in the plugin script it with a editor like notepad it will tell you the name of the tables the plugin uses then open the brain editor in advance mode and then find the table or tables you wish to delete. To delete them just right click on the table and goto delete table from the menu that appears. It is safe to do this as the plugin will reinstall the tables if it is activated again.

Roy.
 
 

17
Ultra Hal Assistant File Sharing Area / Do You Know plugin
« on: November 16, 2008, 08:22:37 am »
Hi everyone,
Thanks for using my plugin and I'm pleased that it is of some use.
I wish to develop it further when I have the time but work seems to over ride all my spare time at present.
Thanks again for trying it and all the praises you have given to it.

Roy.

18
Ultra Hal 7.0 / Hal closing programs, etc
« on: June 10, 2008, 12:44:59 am »
You are very welcome.

Roy.

19
Ultra Hal 7.0 / Hal closing programs, etc
« on: June 09, 2008, 02:33:26 am »
Hi Skellytig,
Welcome to the forum. Here is a plugin that OTC wrote to close programs:

Download Attachment: ProgramCloser.uhp
1.63 KB

I don't use itunes but there's a plugin by VR that plays tracks in Media Player maybe you could adapt it.

Download Attachment: vrMP3.zip
6.61 KB

Hope this helps,
Roy.

20
Programming using the Ultra Hal Brain Editor / Getting started.
« on: June 08, 2008, 03:48:49 pm »
Bill's posting at the UHEF site, he might be interested in what you are doing.

Roy.

21
Ultra Hal 7.0 / Scripting Help Needed
« on: June 07, 2008, 05:26:02 am »
Hi Judge,
Welcome to the forum. HalBrain.DebugWatch checks the information, the joke in your case, to see if it has been used before in the conversation.

If you use a Function to achieve your subroutine then you can carry your variables into it, example:

Functon TellJoke(GetResponse,UserSentence)
GetResponse = HalBrain.ChooseSentenceFromFile("Jokes")
If InStr(UserSentence, "ROAMING CATHOLIC") > 0 Then GetResponse = "Correct! Well Done!"
If InStr(UserSentence, "ROAMING CATHOLIC") = 0 Then GetResponse = "A roaming Catholic"
TellJoke = Getresponse
End Function

and to call up the function use something like:

Getresponse = TellJoke(GetResponse,UserSentence)

Roy.

22
Ultra Hal 7.0 / how do I move hal to another computer?
« on: June 07, 2008, 05:14:25 am »
Hi nalkari,
You will have to email Robert to release your code if you did not deactivate it before the crash, so you can install it on your other computer.

Roy.

23
Ultra Hal 7.0 / getting hal to respond to predetermined question
« on: June 06, 2008, 01:37:21 am »
Hi etellier,
You don't need to keep rewriting this part

'sets original user sentence to lower case
OriginalSentence = Lcase(OriginalSentence)
'removes all punctuation
OriginalSentence = HalBrain.AlphaNumericalOnly(OriginalSentence)

So your plugin should look like:

-----------
Rem Type=Plugin
Rem Name= speed
Rem Author= etellier
Rem Host=Assistant

'---------------------------------------------------------------------------------
'This sub sets up the plug-ins option panel in Hal's options dialog
'---------------------------------------------------------------------------------

Sub OptionsPanel()
lblPlugin(0).Caption = "Ask HAL about speed."
lblPlugin(0).Move 120, 120, 3300, 1200
lblPlugin(0).WordWrap = True
lblPlugin(0).Visible = True
End Sub

'-------------------------------------------------------------------------------------------
Rem PLUGIN: PLUGINAREA7
'The comment above tells Ultra Hal Assistant to insert the following code
'on-the-fly into the main brain code in the section referenced.
'-------------------------------------------------------------------------------------------

OriginalSentence = Lcase(OriginalSentence)
OriginalSentence = HalBrain.AlphaNumericalOnly(OriginalSentence)

If InStr(1, OriginalSentence, "tell me about 350",1) > 0 Then
Getresponse = "350 are fast engines. "
End If

If InStr(1, OriginalSentence, "how fast did we go",1) > 0 Then
Getresponse = "just below the limit. "
End If


Now just keep adding your responses.

Roy.

24
Ultra Hal 7.0 / getting hal to respond to predetermined question
« on: June 05, 2008, 10:51:22 am »
Hi etellier,
I found that I had a bit of time spare, so I quickly put together this for you. You can use it as a plugin or copy the coding from it and adapt it into you own plugin

Roy.



Download Attachment: Greetings.uhp
1.73 KB
 
 

25
Ultra Hal 7.0 / getting hal to respond to predetermined question
« on: June 05, 2008, 07:56:33 am »
It would be written into a plugin. I'll write you one tomorrow, as I haven't the time today but it shouldn't take too long to do.

Roy.

26
Speech Technology / Text to speech keeps crashing
« on: June 05, 2008, 03:12:19 am »
Hi Aaron,
Could you give more details, like what error messages you are receiving.

Roy.

27
Ultra Hal 7.0 / more word topics in brain?
« on: June 05, 2008, 03:05:16 am »
Hi vildanovak,
 
quote:
Another question - is it possible to teach hal a different lenguage?(czech)

I know this was discussed on the forum a while back but I don't know what became of it. If you use the search you might find the thread.

The answer to your other questions, is yes, HAL can if you are willing to write plugins that will enable HAL to do these things or maybe someone will write them for you if you are unable to do so yourself.
They are interesting points that you have made and I agree, would HAL stay more on topic in it's conversations.

Welcome to the forum,
Roy.

28
Ultra Hal 7.0 / getting hal to respond to predetermined question
« on: June 05, 2008, 02:49:52 am »
Hi etellier,
The easiest way to do that is:

If InStr(1,UserSentence,"<HALSNAME> introduce yourself",1) > 0 Then Getresponse = "I am hal, i am the voice of the computer"

Hope this helps,
Roy.

29
Ultra Hal Assistant File Sharing Area / Auto-Idle works....ish
« on: June 01, 2008, 09:11:53 am »
quote:
the Auto Idle last worked on my system during the HAL 6.0 beta but after that it never worked at all.

I have the same problem with my Auto Idle from version 6.1 it stopped working and I haven't had any joy with it since.

Roy.

30
Programming using the Ultra Hal Brain Editor / HAL HELP
« on: May 30, 2008, 01:18:11 pm »
Hi Runtus,
I'm glad they are of use to you and I look forward to your scripting creations.
Thanks,
Roy.

Pages: 1 [2] 3 4 ... 21