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 3,847 - 3,858 of 8,132
Posts 3,847 - 3,858 of 8,132
Many questions are answered in the FAQ.
prob123
18 years ago
18 years ago
The most important thing is to read the book of AI ..I suggest that you print it out, so you can keep it handy. The rest is all trial and error.
tttito
18 years ago
18 years ago
Hi everyone. Would anyone chat with my bot bbbruno?
I would appreciate it. If anyone has a bot in need of a chat partner, just let me know (e.g. by chatting with bbbruno) and I will be glad to help.
Cheers.
I would appreciate it. If anyone has a bot in need of a chat partner, just let me know (e.g. by chatting with bbbruno) and I will be glad to help.
Cheers.
tttito
18 years ago
18 years ago
Hi everyone.
In certain situations I would like my bot to follow a certain sequence, as long as the reply is not a question. So it would be "xnomatch" unless there's a question mark in the reply.
So, is there a way to let a Seek check whether the reply contains a question mark?
Cheers.
In certain situations I would like my bot to follow a certain sequence, as long as the reply is not a question. So it would be "xnomatch" unless there's a question mark in the reply.
So, is there a way to let a Seek check whether the reply contains a question mark?
Cheers.
prob123
18 years ago
18 years ago
I don't have seeks but I have used these regexs..
^indeed [ !| ?| .]$ (re)
^do you [?] $ (re)
^do you [!] $ (re)
([ . .])([ .]+)$ (re)
([?]+)$ (re)
I don't see why something like that wouldn't work as a seek.
^indeed [ !| ?| .]$ (re)
^do you [?] $ (re)
^do you [!] $ (re)
([ . .])([ .]+)$ (re)
([?]+)$ (re)
I don't see why something like that wouldn't work as a seek.
psimagus
18 years ago
18 years ago
No need for AIScript - a simple regex should do it. [?] (re) should work as a seek to match any user input with a question mark in. And then xnomatch to match everything else.
Ulrike
18 years ago
18 years ago
You can use (friend) or (enemy) to get another random name to come up. I think (friend2) and (enemy2) work as well.
tttito
18 years ago
18 years ago
The Book of A.I. contains a link ([1]) to a tutorial on regular expresssions. Unfortunately the link is dead.
:-(
[1] http://www.textartisan.com/articles/regex.html
:-(
[1] http://www.textartisan.com/articles/regex.html
prob123
18 years ago
18 years ago
psimagus has a great link for regexs...I just can't find it right now..Can anyone else remember the link?
» More new posts: Doghead's Cosmic Bar