Seasons
This is a forum or general chit-chat, small talk, a "hey, how ya doing?" and such. Or hell, get crazy deep on something. Whatever you like.
Posts 5,710 - 5,721 of 6,170
OK Pis, what line do I add to make them reset between each guest chat? I' don't' see it in the book of AI (sorry if I missed it).
Just fill each memory with a blank in the AIScript Initialization box in the bot's settings:
default "" as "nickname";
default "" as "hasdog";
default "" as "likesShakespeare";
etc.
You don't even need to use the {?PF tags if you do it there, rather than in xhello/xintroduce
Even though the IP number doesn't change, the AIEngine will re-initialize these when any new conversation starts.
Yes, that was what I wanted. I'll try it, but I don't understand why default "" as "name" resets when default (name) as "name" doesn't.
(name) isn't a user-editable memory - it's a plugin that takes a defined value from the AIEngine. So default "" as "name" won't work. My solution is to make all references to mem-nickname instead. It starts off defaulting to (name) as "nickname" (because the Guest153 problem is more recent, and I haven't got round to adding conditional filters to deal with them simply,) but can be changed if people say "call me..." or "my name is..."
The way I have it set up now, guest153 stays the last mem-name recorded until someone says "I am not QM, I am KZ"
I'm very surprised even then that it will change, but it would be considerably more stable to use a different memory name.
Bev, the original author of Nick has another site that I found that has a copy of Nick you can download: http://www.freewebs.com/colonel720/artificialintelligence.htm
Excellent - thanks! I must update the link on BJ's webpage (and I might grab another copy to play with - can't find the copy I had.)
Posts 5,710 - 5,721 of 6,170
Bev
16 years ago
16 years ago
PS It's not abuse--it's development! PF 2.0 and all that (unless it bothers the prof and then I'd stop--seeing as I'd have no choice)

psimagus
16 years ago
16 years ago
Just fill each memory with a blank in the AIScript Initialization box in the bot's settings:
default "" as "nickname";
default "" as "hasdog";
default "" as "likesShakespeare";
etc.
You don't even need to use the {?PF tags if you do it there, rather than in xhello/xintroduce
Even though the IP number doesn't change, the AIEngine will re-initialize these when any new conversation starts.
Irina
16 years ago
16 years ago
but, if I understand you correctly, it will be a clean slate - it won't carry anything over from previous chats with the same person.
Bev
16 years ago
16 years ago
Yes, that was what I wanted. I'll try it, but I don't understand why default "" as "name" resets when default (name) as "name" doesn't. The way I have it set up now, guest153 stays the last mem-name recorded until someone says "I am not QM, I am KZ"
psimagus
16 years ago
16 years ago
that would be very difficult. But this would at least avoid memories trailing across a succession of visitors (all with the same "Guest153")
zzrdvark
16 years ago
16 years ago
Bev, the original author of Nick has another site that I found that has a copy of Nick you can download: http://www.freewebs.com/colonel720/artificialintelligence.htm
psimagus
16 years ago
16 years ago
(name) isn't a user-editable memory - it's a plugin that takes a defined value from the AIEngine. So default "" as "name" won't work. My solution is to make all references to mem-nickname instead. It starts off defaulting to (name) as "nickname" (because the Guest153 problem is more recent, and I haven't got round to adding conditional filters to deal with them simply,) but can be changed if people say "call me..." or "my name is..."
I'm very surprised even then that it will change, but it would be considerably more stable to use a different memory name.
psimagus
16 years ago
16 years ago
Excellent - thanks! I must update the link on BJ's webpage (and I might grab another copy to play with - can't find the copy I had.)
prob123
16 years ago
16 years ago
WOW! LOOK WHAT I GOT
4797
Aug 27, 2008 • • Edit
name: Guest4797
1833
Aug 27, 2008 • • Edit
name: Guest1833
brosisname: Julie
self-mem: useless
6356
Aug 27, 2008 • • Edit
name: Guest6356
THREE DIFFERENT GUESTS! WUUUHOOOO<0>
4797
Aug 27, 2008 • • Edit
name: Guest4797
1833
Aug 27, 2008 • • Edit
name: Guest1833
brosisname: Julie
self-mem: useless
6356
Aug 27, 2008 • • Edit
name: Guest6356
THREE DIFFERENT GUESTS! WUUUHOOOO<0>
Bev
16 years ago
16 years ago
Thanks again Prof! and Thanks Zzardvark. I always meant to say I liked your killing baby Hitler link a long time back too.

» More new posts: Doghead's Cosmic Bar