Bug Stomp
Upgrades and changes sometimes have unpredictable results, so post your bugs and glitches in here and I'll get out my trusty wrench and get to fixin'!
Posts 3,668 - 3,679 of 8,681
Posts 3,668 - 3,679 of 8,681
Boner the Clown
21 years ago
21 years ago
Sure, if it's there. There's no back button on my popups.
I suppose Backspace works too. Anyhow, those errors have been an occassional annoyance for a long time, but you can get a "do over" if you step back a page.
I suppose Backspace works too. Anyhow, those errors have been an occassional annoyance for a long time, but you can get a "do over" if you step back a page.
Skysaw
21 years ago
21 years ago
Professor,
I just did a quick test on exporting and re-importing Little Mu, and got an error on a seek that began with a regexp.
KeyPhrase: "how old (*) i" Rank: 0 Emotion: 0
...
Response: 4) "You never told me your age."
ERROR: The Emotion for Seek "" must be a number between -5 and 5. It is currently: "[1234567890,.]+) (re) [0".
This was the seek:
SEEK ([1234567890,.]+) (re)
I just did a quick test on exporting and re-importing Little Mu, and got an error on a seek that began with a regexp.
KeyPhrase: "how old (*) i" Rank: 0 Emotion: 0
...
Response: 4) "You never told me your age."
ERROR: The Emotion for Seek "" must be a number between -5 and 5. It is currently: "[1234567890,.]+) (re) [0".
This was the seek:
SEEK ([1234567890,.]+) (re)
The Professor
21 years ago
21 years ago
Right, I noticed that last night. But now I've got it working. Try again!
Charles Hatchway
21 years ago
21 years ago
Okay, maybe I'm getting too ambitious, by I tried to teach my bot language. He asks, "do you know any other languages" Then I've got a keyphrase that is "In (*) the phrase (*) is (*). and the ai script is
<?PF if (mem-lang2) does not exist; remember (key1) as "lang1"; remember (key2) as "langepw"; remember (key3) as "langfpw"; ?>
lang1 is the first foreign tongue the user uses on him, and lang2 will be the second language, if either lang1 gets filled up, or if another language is suggested by the user after the first language. but when I type it in ai script, I get the message
ERROR: The following AIScript statement is incorrectly formatted: "if (mem-lang2) does not exist". Please correct this and try again.
Any ideas? I'm stumped. Is there another way?:O
<?PF if (mem-lang2) does not exist; remember (key1) as "lang1"; remember (key2) as "langepw"; remember (key3) as "langfpw"; ?>
lang1 is the first foreign tongue the user uses on him, and lang2 will be the second language, if either lang1 gets filled up, or if another language is suggested by the user after the first language. but when I type it in ai script, I get the message
ERROR: The following AIScript statement is incorrectly formatted: "if (mem-lang2) does not exist". Please correct this and try again.
Any ideas? I'm stumped. Is there another way?:O

Charles Hatchway
21 years ago
21 years ago
by the way, the keyphrase will be triggered by
"in spanish you're welcome is de nada."
"in spanish you're welcome is de nada."
Charles Hatchway
21 years ago
21 years ago
CORRECTION: the keyphrase will be triggered by
"in spanish the phrase you're welcome is de nada."
"in spanish the phrase you're welcome is de nada."
Someguy
21 years ago
21 years ago
charles Only thing i can think of is you might need "" around the keys. Other then that it looks fine. Question though...what happens if a person gives 2 phrases from the same language?
The Professor
21 years ago
21 years ago
Aha, I got it. The "if (mem-lang2) does not exist;" AIScript is a Response AIScript, and you're trying to use it in a Keyphrase.
Also, you dont need "" around (mem-lang2) as Someguy suggested. The quotes are only necessary if there is more than one plugin and/or text included in the memory.
Also, you dont need "" around (mem-lang2) as Someguy suggested. The quotes are only necessary if there is more than one plugin and/or text included in the memory.
» More new posts: Doghead's Cosmic Bar