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

21 years ago #3668
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.

21 years ago #3669
Yeah backspace works if there is no buttons bar.

21 years ago #3670
oooh cool, thanks, i never knew that.

21 years ago #3671
Darn those unsophisticated mice!

21 years ago #3672
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)

21 years ago #3673
Right, I noticed that last night. But now I've got it working. Try again!

21 years ago #3674
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

21 years ago #3675
by the way, the keyphrase will be triggered by
"in spanish you're welcome is de nada."

21 years ago #3676
CORRECTION: the keyphrase will be triggered by
"in spanish the phrase you're welcome is de nada."

21 years ago #3677
ezzer--

Another way is to Right-click on the errored page and select "Back"

21 years ago #3678
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?

21 years ago #3679
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.


Posts 3,668 - 3,679 of 8,681

» More new posts: Doghead's Cosmic Bar