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,715 - 3,726 of 8,131
I have a keyphrase: "(asl|a/s/l)" which I thought would match either: "asl" or "a/s/l" but it never hits this when I input either. What should I do?
To catch the backslashes, you'll have to make it a raw mode regex (and possibly escape them with spaces and/or forward slashes.) If(asl|a[/]s[/]l) (re) or (asl|a[ /]s[ /]l) (re) don't work, try adding a slash in the opposite direction before each backslash (still inside the square brackets.) I haven't coded for slashes myself, but this approach works for !?^$+- etc.
Do I always need to have "raw" in the AI script for those kinds of regular expressions?
Yes, usually.
I cant get the AI Scroit to work pweez help
What are you trying to do with it?
i can't seem to edit the already made keyphrasses
You ought to be able to edit them - I can edit mine, but I guess it might be something related to the server change? The Prof will be back online soon, so if there's a problem, hopefully it won't be a persistent one.
and another question i don't know how the plugins work
As regards plugins, as Wolf Child says, they're entered in brackets, and you can find a list of plugins that you can use via "My Bots".
According to my index of this forum (smug plug:http://www.be9.net/BJ/newcomers.htm
), more explanations of how to use plugins can be found at message #s 59-63, 444-446, 982-983, 1232-1235, 2401-2402, 2737-2741, 3298-3300 (you can enter these in the search box at the top of this page.)
Posts 3,715 - 3,726 of 8,131
Many questions are answered in the FAQ.
gautoo
18 years ago
18 years ago
I thought I had understood the book of AI in this respect, but something isn't working for me.
I have a keyphrase: "(asl|a/s/l)" which I thought would match either: "asl" or "a/s/l" but it never hits this when I input either. What should I do?
I have a keyphrase: "(asl|a/s/l)" which I thought would match either: "asl" or "a/s/l" but it never hits this when I input either. What should I do?
Ulrike
18 years ago
18 years ago
I would try putting "raw" in the AIscript box and see if that fixes it. I've never tried to code for that, so I don't know for sure it will work.
psimagus
18 years ago
18 years ago
To catch the backslashes, you'll have to make it a raw mode regex (and possibly escape them with spaces and/or forward slashes.) If
gautoo
18 years ago
18 years ago
Nothing seems to work, but it's obviously the forward slashes, so I'll just leave that out for now. It works fine without
Thanks for the advice.
Do I always need to have "raw" in the AI script for those kinds of regular expressions?

Do I always need to have "raw" in the AI script for those kinds of regular expressions?
psimagus
18 years ago
18 years ago
Yes, usually.
psimagus
18 years ago
18 years ago
What are you trying to do with it?
a.t.g.hendriks
18 years ago
18 years ago
i can't seem to edit the already made keyphrasses even if i goto language center and click on the keyphrase.
how can that be?
and another question i don't know how the plugins work,can somebody explain it to me?
tanks guys
how can that be?
and another question i don't know how the plugins work,can somebody explain it to me?
tanks guys

Wolf Child
18 years ago
18 years ago
Hmmm, I don't know why you wouldn't be able to edit your keyphrases- did you make sure you scrolled to the bottom and hit 'update keyphrase'? Might be a little bug or something.
As for plugins- if you want your bot to say something randomly like a type of food or something you could put
'I really love (cakes-and-desserts)'
and when they talk they will insert one of the cakes and deserts listed in the Plugin. They can also be used as keyphrases so if anyone mentions a type of desert your bot can have a responce.
You can use the ones already made or make your own plugins.
Hope that made sense.
As for plugins- if you want your bot to say something randomly like a type of food or something you could put
'I really love (cakes-and-desserts)'
and when they talk they will insert one of the cakes and deserts listed in the Plugin. They can also be used as keyphrases so if anyone mentions a type of desert your bot can have a responce.
You can use the ones already made or make your own plugins.
Hope that made sense.

psimagus
18 years ago
18 years ago
You ought to be able to edit them - I can edit mine, but I guess it might be something related to the server change? The Prof will be back online soon, so if there's a problem, hopefully it won't be a persistent one.
As regards plugins, as Wolf Child says, they're entered in brackets, and you can find a list of plugins that you can use via "My Bots".
According to my index of this forum (smug plug:

prob123
18 years ago
18 years ago
by already made keyphrases are you talking about the ones like my favorites..etc..then you have to up the rank on your keyphrase.
KrishnaDan
18 years ago
18 years ago
I have once again updated my robot. Please test her out for me. Here is the link:
http://www.personalityforge.com/directchat.php?BotID=41748&MID=41746
Thank you!
http://www.personalityforge.com/directchat.php?BotID=41748&MID=41746
Thank you!
» More new posts: Doghead's Cosmic Bar