|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4691 Location: Pensacola, FL, USA
|
Posted: Wed Oct 06, 2010 4:04 am
[3.30] Pattern matches but doesn't fire |
Code: |
<trigger priority="150" id="15">
<pattern>^ ((%w) (%x)){%s((%w) (%x))|}$</pattern>
<value>#SAY %1
#SAY %2
#SAY %3
#SAY %4
#SAY %5
#SAY %6</value>
</trigger>
|
Here is a sample of mud text:
Code: |
You know the following athletics crafts:
practice wall-climbing practice rope-climbing
spar pell-block run obstacle-course
practice brawling walk balance-beam
dismantle assembled-target make hay-target
practice medium-pierce |
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
charneus Wizard
Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: Wed Oct 06, 2010 5:38 am |
It fires, but you're not allowing for the spaces at the end of the line. Put a %s after the (%x) and you'll see it fire.
Charneus |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4691 Location: Pensacola, FL, USA
|
Posted: Wed Oct 06, 2010 1:01 pm |
Doh!
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
|
|