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
Many questions are answered in the FAQ.


18 years ago #3847
i am new can someone tell me how to do a bot plase

18 years ago #3848
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.

18 years ago #3849
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.

18 years ago #3850
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.


18 years ago #3851
That can be done with AIScript. Talk to psimagus about it.

18 years ago #3852
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.

18 years ago #3853
Thanks for the feedback. I'll try that out.

18 years ago #3854
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.

18 years ago #3855
I tried (gossipname2) but it doesn't work. What do I do?

18 years ago #3856
You can use (friend) or (enemy) to get another random name to come up. I think (friend2) and (enemy2) work as well.

18 years ago #3857
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

18 years ago #3858
psimagus has a great link for regexs...I just can't find it right now..Can anyone else remember the link?


Posts 3,847 - 3,858 of 8,132

» More new posts: Doghead's Cosmic Bar