|
Articnal Apprentice
Joined: 19 Jan 2002 Posts: 107
|
Posted: Sat Oct 25, 2003 5:27 pm
Advanced tiggering |
Hi,id like to be able to trigger next:
<On the head> [+++++] (Big) An axe
The problem is that sometimes,there doesnt appear any [+++++] or (Big),or appears more than one thing between (),so it could be
<On the head> [+++++] (Big) An axe
<On the head> (Big) An axe
<On the head> An axe
<On the head> (Big) (Blue) An axe
And also,depending on the object,there are more or less than 2 words to name it,lets say range is 1-3.
So,i tried to tigger it next way:
~<On the head~> {~[%1~] |}{~(*~) |~(*~) ~(*~) |} {%2|%2 %3|%2 %3 %4}
And i think that should work,but doesnt.
Any way of doing so? |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sat Oct 25, 2003 7:18 pm |
I think you will need to combine the &nn fixed-width pattern and multiple triggers.
#TR {~<On the head~>&03~[*~] ~(*~) (*)} {#VAR LB1 {%1};#VAR LB1}
#TR {~<On the head~>&03~(*~) (*)} {#VAR LB1 {%1};#VAR LB1}
#TR {~<On the head~>&03~[*~] (%w*)} {#VAR LB1 {%1};#VAR LB1}
#TR {~<On the head~>&03(%w*)} {#VAR LB1 {%1};#VAR LB1}
Tested with:
<On the head> [+++++] (Big) An axe
<On the head> (Big) An apple
<On the head> An orange
<On the head> (Big) (Blue) An axiom
<On the head> [+++++] An awl
Results:
An axe
An apple
An orange
An axiom
An awl
NOTES: Last command in each trigger was for display purposes only and can be deleted
There are 3 spaces between <On the head> and the remainder of each line, as shown by 'reply with quote'. |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|