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,138 - 4,149 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,138 - 4,149 of 8,131
Many questions are answered in the FAQ.
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.
coolchimpk
18 years ago
18 years ago
(leftarrow)IFRAME SRC="((Key1))" WIDTH=300 HEIGHT=100(rightarrow)- hope this works
alc003
18 years ago
18 years ago
Wow, haven't been here in a while. Hey everybody...
The ((adv)|(adj)) example doesn't work, since it has double parentheses. (it would be nice though!) I don't think double parentheses won't work unless there are some characters after the first one.
coolchimpk: Cool idea with the iframe, but possibly instead of using a plugin for every bot, you could iframe the google search "I'm feeling lucky" for a bot. Like:
(mem-left)iframe src="http://www.google.com/search?q=site
ersonalityforge.com/directchat.php
(key1)&ie=utf-8&oe=utf-8&btnI=Lucky"(mem-right)(mem-left)/iframe(mem-right)
Just a suggestion.
The ((adv)|(adj)) example doesn't work, since it has double parentheses. (it would be nice though!) I don't think double parentheses won't work unless there are some characters after the first one.
coolchimpk: Cool idea with the iframe, but possibly instead of using a plugin for every bot, you could iframe the google search "I'm feeling lucky" for a bot. Like:
(mem-left)iframe src="http://www.google.com/search?q=site

(key1)&ie=utf-8&oe=utf-8&btnI=Lucky"(mem-right)(mem-left)/iframe(mem-right)
Just a suggestion.
» More new posts: Doghead's Cosmic Bar