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 4,133 - 4,144 of 8,131
Can one use plug-ins inside regular expressions
Since the regex shoud be processed raw I don't think it will work, I got this from the book of AI
DRAWBACKS TO RAW MODE
While raw mode seems very useful, there are also several drawbacks that you must keep in mind.
Word-Type Wildcards: Word-type wildcards will not work: this includes (noun), (adjartnounprep), (adjective), (verbadvprep), and the rest.
Sentence-Spanning: The second is that the * and (*) wildcards can span sentences. This is useful if you're intending on it, but it can also cause problems if you're not. For example, "i * like you" in raw mode would match "I am hungry. Bonnie is too, just like you."
Unpredictable Keys: Possibly the biggest drawback to raw mode is that (key)s can have unpredictable results. (postkey) will contain everything in the message following the match, including punctuation and any following sentences. If you're good with regular expressions, you can try to cut this off by using (.|,|?|!) to cut it off at the end of the sentence. (prekey) has similar extended reach.
Posts 4,133 - 4,144 of 8,131
Many questions are answered in the FAQ.
Irina
18 years ago
18 years ago
Thanks, Ulrike!
(Grumble) I would think that variety would be the job of the creator ofthe bot. One can easily write, e.g., "(beautiful|lovely|gorgeous)".
I deeply appreciate the Professor's making this site available and arranging it so that beginners can write bots, and I admire his skill and industry in setting it up. But I wish he would change certain things. It is similar with most of the xkeywords. At the very beginning they offer a quick way to do certain things, but after awhile they become intrusive. We end up playing games with rankings in order to get around them. Why not just supply plug-ins like (insult), (compliment), (emotion), (nonsense), and (command)? We could use these or not, as we chose.
(Grumble) I would think that variety would be the job of the creator ofthe bot. One can easily write, e.g., "(beautiful|lovely|gorgeous)".
I deeply appreciate the Professor's making this site available and arranging it so that beginners can write bots, and I admire his skill and industry in setting it up. But I wish he would change certain things. It is similar with most of the xkeywords. At the very beginning they offer a quick way to do certain things, but after awhile they become intrusive. We end up playing games with rankings in order to get around them. Why not just supply plug-ins like (insult), (compliment), (emotion), (nonsense), and (command)? We could use these or not, as we chose.
Eugene Meltzner
18 years ago
18 years ago
Word replacement predates regular expressions. It used to be you couldn't insert that variety yourself.
Dakwizard101
18 years ago
18 years ago
someone please talk to my Only bot called 102)bioenginered I need some transcript to work with!
Irina
18 years ago
18 years ago
Eugene Meltzner:
Ah, that helps to explain it. Thanks! One could still have gotten variety by writing several responses, but that would have been tedious.
Still, regardless of the original reason, it can be frustrating. Although, it is not a major issue for me.
Ah, that helps to explain it. Thanks! One could still have gotten variety by writing several responses, but that would have been tedious.
Still, regardless of the original reason, it can be frustrating. Although, it is not a major issue for me.
Irina
18 years ago
18 years ago
By the way, I know that "Quantum Theory" (QT) has been chatting a lot, but I'm not getting any transcripts. If any of you have non-trivial transcripts of chats with QT, I would be grateful if you sent them to me or posted them here!
coolchimpk
18 years ago
18 years ago
Can somebody try tlaking to ASI because he's been chatting lately but I don't no if I'm getting a trancript.
prob123
18 years ago
18 years ago
I talked to him for a bit, today. If you need a copy of the transcript, let me know. I notice many bots are not on line today, so no bot to bot covos.
Irina
18 years ago
18 years ago
Can one use plug-ins inside regular expressions?
For example, could one write
((adv)|(adj)) (re)
to get a keyphrase that would match on any adverb and also on any adjective?
For example, could one write
((adv)|(adj)) (re)
to get a keyphrase that would match on any adverb and also on any adjective?
coolchimpk
18 years ago
18 years ago
I was wondering that too. And thanks for the chat prob123. The transcript worked, still days before, but it worked.
prob123
18 years ago
18 years ago
Since the regex shoud be processed raw I don't think it will work, I got this from the book of AI
DRAWBACKS TO RAW MODE
Word-Type Wildcards: Word-type wildcards will not work: this includes (noun), (adjartnounprep), (adjective), (verbadvprep), and the rest.
Sentence-Spanning: The second is that the * and (*) wildcards can span sentences. This is useful if you're intending on it, but it can also cause problems if you're not. For example, "i * like you" in raw mode would match "I am hungry. Bonnie is too, just like you."
Unpredictable Keys: Possibly the biggest drawback to raw mode is that (key)s can have unpredictable results. (postkey) will contain everything in the message following the match, including punctuation and any following sentences. If you're good with regular expressions, you can try to cut this off by using (.|,|?|!) to cut it off at the end of the sentence. (prekey) has similar extended reach.
Ulrike
18 years ago
18 years ago
You could use ((adv)|(adj)) without the (re), though. I don't see what making that one raw would gain you, anyway, since the AI Engine would have to process the sentence first to determine whether the word was an adverb or adjective.
coolchimpk
18 years ago
18 years ago
I was trying something to iframe other bots into the browser. If each bot has a plugin for their name with a link to their bot inside then how would this owrk. For example:
Can I talk to * (ASIGRT 1122 Mode for example)
So it will place the link form the bots plugin into the iframe.
Can I talk to * (ASIGRT 1122 Mode for example)
So it will place the link form the bots plugin into the iframe.
» More new posts: Doghead's Cosmic Bar