|
altloo Newbie
Joined: 05 Mar 2009 Posts: 2
|
Posted: Thu Mar 05, 2009 1:35 pm
pattern matching |
i ran iinto something weird
I made the following trigger.
Code: |
North ~: (*) ~[~*~*~> PK ~<~*~*~] |
it will pick up the this line
Code: |
North : Deep Well [**> PK <**] |
but not this one
Code: |
North : A desert path [**> PK <**] |
Any ideas where i might have gone wrong?
all the trigger will do is chage the var to north_pk var to on
thank you |
|
|
|
charneus Wizard
Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: Thu Mar 05, 2009 3:51 pm |
Change your trigger to:
#TRIGGER {^North%s:%s(*)%s~[~*~*> PK <~*~*~]}
That should match what you're wanting. The difference can be in the spaces.
Charneus |
|
|
|
altloo Newbie
Joined: 05 Mar 2009 Posts: 2
|
Posted: Thu Mar 05, 2009 4:07 pm |
it works sweet now
thank you very much for the help |
|
|
|
|
|