|
JustMe Newbie
Joined: 16 May 2002 Posts: 8 Location: Estonia
|
Posted: Wed Jul 24, 2002 5:11 pm
matching pattern list |
i have a list of patterns i gotta trigger.
using #tr {{@list}} works only if list elements doesnt contain wildcard characters, like :
"%w attacks|%w attacks %w" etc.
Is this future implemented in zmud, or i have to use separate triggers with patterns(either directly or via #forall)? |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Wed Jul 24, 2002 9:27 pm |
The {list} syntax for patterns only accepts strings, no wildcards. I believe that this won't be changed either, it's just how it works.
However, there are ways to get around it. For example, you use this pattern for what you posted:
%w attacks
and it will match both.
Kjata |
|
|
|
|
|
|
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
|
|