Match of multiple words not in order.

Request new Verbot® features.

Moderator: Staff

Match of multiple words not in order.

Postby topdaryl » Thu Mar 10, 2005 11:47 am

Is there a way to do that? And not having to put stars? Or it could be a new command.

examples with the word: DOG CAT ANIMAL

all these entry would hit:

dog cat animal
cat dog animal
animal cat dog
cat animal dog
cat animal dog blabla
blabla cat animal dog blabla
blabla cat blabla animal blabla dog blabla
cat animal blabla dog blabla
ect.

At this time, I think this is not possible. A good way to do this could be:

INPUTS RULE

Are you going to {give (file(s)) access}

Fire possiblity:

Are you going to give me access to those files ?
Are you going to give me access to the files ?
Are you going to give me access to files ?
Are you going to give me the access to the files ?
Are you going to give me file access ?
Are you going to give me access to all the files ?

The (file(s)) here could be added to say that the (s) is optional in the word files.

:roll:
topdaryl
MasterBot
MasterBot
 
Posts: 379
Joined: Wed Oct 20, 2004 7:31 pm
Location: Montreal (quebec) Canada

Postby Aaron » Thu Mar 10, 2005 6:13 pm

Matching out of order sounds interesting, but it would require major changes to how the engine works. :( Of course, there's always the work around of just scripting the inputs in the different orders. I know, it's not ideal, but it's something.

As for the file(s). You should be able to specify that the s is optional by writing it as file(|s) - meaning "file" and nothing (file) or "file" and s (files).
Aaron
SupremeBot
SupremeBot
 
Posts: 1261
Joined: Thu Feb 26, 2004 11:13 pm

Postby topdaryl » Fri Mar 11, 2005 11:59 am

Ok for the "file" thing...

I try to test this thing. I did the following:

INPUT

(|are you) happy


As you can see, I put the "|" in the begining of the parenthesis, but it did not hit the target when I wrote: happy :(

What am I doing wrong ?
topdaryl
MasterBot
MasterBot
 
Posts: 379
Joined: Wed Oct 20, 2004 7:31 pm
Location: Montreal (quebec) Canada

Postby Aaron » Fri Mar 11, 2005 3:41 pm

It gets kind of tricky when you're doing stuff like this. I wouldn't really suggest it (you could always just add a 2nd input), but I got it to work with this:
(are you |)happy

I think the problem with:
(|are you) happy
is the space before "happy".

Anyway... Verbots weren't really designed to be used like this. It's just a cool little trick.
Aaron
SupremeBot
SupremeBot
 
Posts: 1261
Joined: Thu Feb 26, 2004 11:13 pm


Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 0 guests