Zabaware Support Forums
Zabaware Forums => Programming using the Ultra Hal Brain Editor => Topic started by: lightspeed on March 21, 2009, 02:08:07 pm
-
hi i went into the brain editor and changed some of the insult words for regular words and now i am getting this error hal script error 1025 line 914 column 81 expected end of statement . here is the area i changed in a picture . what did i do wrong .
(http://www.zabaware.com/forum/uploaded/lightspeed/200932114640_halerrorcodeproblem.jpg)
i did this to stop hal from thinking regular words like stupid in a sentence was insulting her so she wouldnt say she was being insulted .
any help would be appreciated thanks ![:)]
-
It's because you have an extra quotation mark (") in line 913.
Where you have:
"now now ha "!" & vbCrLf
change it to :
"now now ha !" & vbCrLf
Quotation marks are special character in VB Script, you have to be careful how and where you use them.
You also have a similar problem with line 915 - put the " outside the !
And you have the same problem in line 916 like I explained above...so change that too (remove the & after 'well' too)
Hope you can follow that.
-
thank you oh mighty freddy888 , thanks a million and you worded it just fine i did it and after a few times of finding more i am getting no more errors as of right now . thanks again for your help !!its greatly appreciated ![:)]
-
i am getting my pre wrote insult responses now like below :
Oh really Hope that the econemy starts to get better for everyones sake!(what i wrote in was "oh yeally " , etc , etc .
i am happy !(at least till i make my next blunder) lol but guess thats how we learn that and friends that help out ![:)]
-
Glad to help my friends [:D] and you are right, the only way to learn is to give it a try.