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,713 - 3,724 of 8,132
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,713 - 3,724 of 8,132
Many questions are answered in the FAQ.
psimagus
18 years ago
18 years ago
r41334t:
How do I avoid the spellcheck if the name was typed in lowercase?
typeraw in the AI Script box, and it will bypass the spell-correction.
trevorm:
<?PF if (mem-nickname) is "(guestpluginname)"; ?> might actually work for a flash bot. More manual labor, but it could work.
If it does work, you can make yourself eternally popular by making it a shared plugin, and saving the need for everyone else to duplicate the labour
type
trevorm:
If it does work, you can make yourself eternally popular by making it a shared plugin, and saving the need for everyone else to duplicate the labour

KrishnaDan
18 years ago
18 years ago
Would anyone care to test my robot for me so I can see how far it gets before it stops making sense?
Here is the link:
http://www.personalityforge.com/directchat.php?BotID=41748&MID=41746
Thanks.
Here is the link:
http://www.personalityforge.com/directchat.php?BotID=41748&MID=41746
Thanks.
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:

» More new posts: Doghead's Cosmic Bar