I'm trying to teach myself how to modify hal by tinkering with the main brain. I created a 'new brain' that is completely unmodified so I'm not worried about loosing any of my previous work ...
So my first quest was to see if I could learn how to create a pattern search on a table, so I went and found a table ... in this case, it was the insult table. I created a new table called 'insult2' and populated it with a few insult terms.
Then I went to the place in the code that calls the 'insulting' table and changed the table reference from 'insulting':
HalBrain.TopicSearch(TestSentence, "insulting")
I changed this to :
HalBrain.TopicSearch(TestSentence, "insult2")
but it didn't work ... it was like I had deleted the insulting table. I changed it by TYPING the "insult2" into the command.
I also noticed that before I modified it the 'insulting' reference was a hyperlink that opened up the 'insulting' table when you clicked on it ... but my new 'insult2' reference was not a hyperlink ... when I tried to put 'insulting' back in as the table reference it still did not work and was still not a hyperlink ...
So is there something I need to do to add a table reference to the script file? Some kind of right click with the mouse, select option 1, click here, select this, drag there ... kind of thing?
Is that command NOT what I think it is?