Zabaware Support Forums
Zabaware Forums => Programming using the Ultra Hal Brain Editor => Topic started by: joe90 on October 26, 2003, 03:42:11 am
-
Hi. Being no programmer,I have downloaded some ready made scripts (thanks to all) and have inserted my first:(If Instr(1, UserSentence, "Say hello to Greg", vbTextCompare) > 0 Then
GetResponse = "Hello Greg!"
End If)
into Hal's brain in a free? line. i.e. line 0391 has an End If, line 0392 is empty. After placing the script there, I edited the script by changing the name and adding "nice to meet you" The script insert and editing work fine. Does this mean I can insert any script no matter how large it is, into an empty line and it will work and not cause any damage?
This may sound simple and basic, but I am new to all this.
I have owned a previous version of Hal for some time, but never really understood it's capabilities or potential. (What a waste I know)but I am now really trying to get into it.
Thanks for all the help I have already received so far.
joe90
-
Actually the simple answer is no... usually it's a matter of trial and error...
For example, if you put your scripts too near the top, then things after it will "over-write" your desired responses...
Don probably can better explain this than I can...