I have uploaded a revised plugin to :
Load Data PluginThis will remember a single piece of data by writing a table with the name of the type of data (for instance, "Zipcode" or "Zabaware Password") prefixed with the username ("_Bob_Zipcode"). There is a more natural request ability now, but there are still some requirements. In order to keep it from conflicting with Hal's native functions, I had to place restrictions on what you can say. I welcome ideas about how to get around this.
1) You must say the name of the type of data first, and the actual data second
2) You must say "is" between the data name and the actual data, "my code is 54637"
3) You must not say anything after the data. For recall you must not say anything after the data name "Please recall my code"
Other than that you can say a wide variety of things and get a result, plus, if you want you can add your favorite phrases as long as you use the pattern I established.
For instance, you can say:
Please remember my code is 1234
Could you put in your memory banks that my code is 1234
Will you keep in mind that our code is 1234
&Etc.
But not "Remember my code is 1234 please"
To recall the data you can say:
I would like you to display my Code
Would you recall my code
Can you display our code
&Etc.
Read the script to see what else you can say.
I should point out that Hal can naturally remember things like this, if you say "My code is 1234" it will probably remember it. Later if you ask "What is my code" it might respond correctly. The more often you say it and in the more varied ways you say it, the more likely it will respond as expected.
This plugin is for when you absolutely have to have the data in a form that will certainly be recalled every time even if you only told Hal the data once. It is also intended to be used for unusual types of data, like passwords that change every month or whatever.
And of course, the real reason is that the two functions are something I can reuse in my other plugins to enter specific data that those plugins need like latitude for length of daylight or zipcode for weather. The finalized functions will allow me to quickly insert a chunk of code that will parse out the needed data without me having to rewrite the whole thing each time.