The AI Engine
This forum is for discussion of how The Personality Forge's AI Engine works. This is the place for questions on what means what, how to script, and ideas and plans for the Engine.
Posts 6,818 - 6,829 of 7,766
Posts 6,818 - 6,829 of 7,766
prob123
15 years ago
15 years ago
Hang up can not have any other info. Just HANGUP. I don't think it works on a xnomatch.
Dr_Ben
15 years ago
15 years ago
I'm following the hangup example on the wikispaces site:
http://personalityforge.wikispaces.com/HANGUP
I'm not sure if it works, though. Maybe there's something wrong with my implementation?
http://personalityforge.wikispaces.com/HANGUP
I'm not sure if it works, though. Maybe there's something wrong with my implementation?
Bev
15 years ago
15 years ago
HANGUP must be the only response. You can't have the bot say, "You are rude. Goodbye. HANGUP" (unless you nest HANGUP as a response to whatever comes after "You are Rude. Goodbye.")
The other culprit may be the rank on the KP.
The other culprit may be the rank on the KP.
Dr_Ben
15 years ago
15 years ago
I added a special key phrase to get the bot to hang up on me (so I won't have to keep insulting her!).
I have tried HANGUP as a regular response, and also as part of a seek as above. I get the same results for each. Some of the time, I get the message "Note: the bot no longer wants to talk to you," and sometimes I get HANGUP as part of a compound response.
I think the latter case is a bug. As for the former case, perhaps the bot isn't able to terminate the conversation unless it is using a pop-up window to chat? In that case perhaps the hangup feature isn't fully implemented?
I have tried HANGUP as a regular response, and also as part of a seek as above. I get the same results for each. Some of the time, I get the message "Note: the bot no longer wants to talk to you," and sometimes I get HANGUP as part of a compound response.
I think the latter case is a bug. As for the former case, perhaps the bot isn't able to terminate the conversation unless it is using a pop-up window to chat? In that case perhaps the hangup feature isn't fully implemented?
Dr_Ben
15 years ago
15 years ago
"I have too many gotos in a row"
How many gotos can you have in a row? Just one?
(Sorry if this is a noobie question. I've been trying to search for an answer to this, but with no luck.)
How many gotos can you have in a row? Just one?
(Sorry if this is a noobie question. I've been trying to search for an answer to this, but with no luck.)
deleted
15 years ago
15 years ago
Oh yeah, that where you point at something that points at something. You can't have that. You cannot bounce shit like that. Try sticking to pointintg to just one phrase.
Dr_Ben
15 years ago
15 years ago
Thanks again, Cyber Ty. I was trying to use special keyphrases that exist just for the sake of executing aiscript commands. But I see that what I was doing won't work.
chihuahua0
15 years ago
15 years ago
This might be a noob question, but how can I make might bot see that a certain line is a goodbye line?
prob123
15 years ago
15 years ago
The AI engine will automatically detect hello, goodbyes etc. Just use the xkeywords xgottago and xgoodbye
Slingshot
15 years ago
15 years ago
Is there a way to obtain multiple keys from a regular expression?
For instance, I have a bot that's a bit of a perv. He might like to ask the ladies what their measurements are and respond differently according to his preferences. Ideally, what I would like to do is explode the 32-28-33 (or whatever) and save the different values as memories. I can assign the entire measurement as a memory, but I'm having trouble figuring out how to break it up into its components. Is this possible? It seems like the sort of thing most implementations of regular expressions were designed for...
For instance, I have a bot that's a bit of a perv. He might like to ask the ladies what their measurements are and respond differently according to his preferences. Ideally, what I would like to do is explode the 32-28-33 (or whatever) and save the different values as memories. I can assign the entire measurement as a memory, but I'm having trouble figuring out how to break it up into its components. Is this possible? It seems like the sort of thing most implementations of regular expressions were designed for...
Ty Paige
15 years ago
15 years ago
Off the top of my head, I figured out a mapping sequence that doesn't involve regualr expressions.
I rarely use regular expressions. Don't get me wrong, I have a shitload of them, but I use them only when needed.
I rarely use regular expressions. Don't get me wrong, I have a shitload of them, but I use them only when needed.
chihuahua0
15 years ago
15 years ago
Well, what happen, for example, if the person my bot say something that offends him, he will say goodbye and end the conversation.
» More new posts: Doghead's Cosmic Bar