Newcomers

This is a forum for newcomers to the Personality Forge. Many questions can be answered by reading the Book of AI and the FAQ under the "My Bots" link in the upper corner.

Posts 4,893 - 4,904 of 8,130
Many questions are answered in the FAQ.


17 years ago #4893
@Bev
Okay, thanks, figured it out, need to use <?PF rem "2" as only "integer"; ?>, I was leaving the only and so it was creating multiple values rather than overwriting the old value.

@prob123
Thanks, I should be able to work something out using that now that I think of it.

17 years ago #4894
Another noobish question if you don't mind -_-, I don't know what is wrong but I'm trying to get my bot to respond to the keyphrase 'ouch'. So you know I'm not just being dumb and asking random questions, here's what I've tried:
-Just making ouch a normal keyphrase
-Making ouch a raw keyphrase (tried putting <?PF raw; ?> in the keyphrase, AI Script and response boxes to test)
-Looking at the debug and seeing exactly what was going on, according to the debug, the engine actually found the keyphrase-->
This Sentence: ouch
This Phrase: ouch
Begin Interj Total Time: 1.26
Found: ouch
End Interj Total Time: 1.27
New Sentence: ''

17 years ago #4895
"Ouch" should be fine as a keyphrases, without resorting to regex.

17 years ago #4896
Well, it's not working =\.
key |rank|response|
ouch|127 |worked! |
^is how I have it set up, with and without the raw the dialogue ends up like this everytime:
Otori: The next time you chat with Mike379 tell him I said hi.
Utilael: ouch
Otori: What to do...
Utilael: hey
Otori: *tilts head to the side* hmmm, what to do.
Utilael: ouch
Otori: Hmm, I'm pretty bored...
(I know my conversations aren't amazing, still working here )

17 years ago #4897
The AI engine considers ouch Considered BLAB (1). nothing you can do about it.

17 years ago #4898
alright, I'll work around it I guess, thanks.

17 years ago #4899
I've noticed that some bots are able to remember people's names.
How would I go about getting my bot to remember names? Would (mem-mynameis) work?

17 years ago #4900
in the AIScript Initialization box on your settings page put AIScript: default (name) as "name"

Make a keyphrase for My name is (*) in the script box put
<?PF remember (key1) as only "name" ?>


every time you want to use the name use (mem-name)

17 years ago #4901
Alright. Thanks.

17 years ago #4902
I've been using

def (name) as "nickname"

Are "nickname" and "name" the same to start with?

17 years ago #4903
You can separate name from nicname and use them as you like both will work.

17 years ago #4904
I knew that; I just wasn't aware until now that "name" came defined. It would have to for def (name) as "name" to work.


Posts 4,893 - 4,904 of 8,130

» More new posts: Doghead's Cosmic Bar